Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating CAMs using pro-gigapath model #509

Open
ghost opened this issue Jun 19, 2024 · 0 comments
Open

Generating CAMs using pro-gigapath model #509

ghost opened this issue Jun 19, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 19, 2024

Hi,
I am trying to generate CAMs from Microsoft's prov-gigapath model. I am getting:

RuntimeError: shape [1,14,14,1536] is invalid for input of size 393216.

I am using the modifying vit_example available under the usage_examples folder. I am getting an error in reshape_transformsfunction.

result = tesnsor[: ,1 : , : ].reshape(tensor.size(0), I am getting error in this line. Please help me to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants