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

GradCAM's heatmap worsened from .1 to .2 #136

Open
TedGraham opened this issue May 27, 2020 · 1 comment
Open

GradCAM's heatmap worsened from .1 to .2 #136

TedGraham opened this issue May 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@TedGraham
Copy link

TedGraham commented May 27, 2020

I'm using Keras' VGG16 to classify a picture of a dog and am generating a heatmap from GradCAM.explain.

Using .1.0 and specifying the layer_name of "block5_conv3" gives a much nicer heatmap (first image) than using .2.0 and not specifying the layer_name (second image).

  • the behavior of .2.1 and .2.0 appears the same to me
  • specifying the layer_name with .2.1 doesn't fix this, the auto choosing of the layer appears to be picking the block5_conv3 layer

explain-0 1 0

explain-0 2 1

@RaphaelMeudec
Copy link
Collaborator

Thanks for raising this, will look into it!

@RaphaelMeudec RaphaelMeudec added the bug Something isn't working label Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants