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

Using GradCAM for a decoder #519

Open
jcjlin opened this issue Jul 18, 2024 · 1 comment
Open

Using GradCAM for a decoder #519

jcjlin opened this issue Jul 18, 2024 · 1 comment

Comments

@jcjlin
Copy link

jcjlin commented Jul 18, 2024

Hi, I'm trying to use GradCAM in an autoencoder to visualize the feature map of each layers from the encoder and decoder, I successfully got the image from encoder, but for decoder because the input is a tensor but not image, is it avalible to use GradCAM to visuallize a decoder's feature map?

@jacobgil
Copy link
Owner

Yes it should work !
As long as the tensor has spatial dimensions (width and height).
What are the dimensions of the input tensor ?

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

2 participants