-
Notifications
You must be signed in to change notification settings - Fork 45
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
ResNet-50 visualization #36
Comments
Hi, @t-softic . I believe that GradCAM method can work well with resnet-50 as follow: https://github.com/raghakot/keras-vis/blob/master/examples/resnet/attention.ipynb Could you please submit the heatmaps and a code snippet to reproduce and examine the problem? Thanks! |
Tensorflow 2.3.0 Hi, i have a "similar" problem.. it happens when i construct a new model from an already created. Construction of model:
result of the plot:
then i basically code the same code which is in https://github.com/keisen/tf-keras-vis/blob/master/examples/attentions.ipynb The error is:
|
hi @t-softic, have you tried to use GradCam on a Custom model that includes a resnet and then some top classifiers layers that you add? |
Hi,
I used fine-tuned resnet-50 and added a new classifier on top. When I try to visualize with CAM methods, I get meaningless heatmaps. On the other hand, when visualizing with gradient, there is an attention in regions that should be highlighted. I know ResNet is hard to visualize due to its skip connections, but do you have any tips on what I could do to improve CAM visualizations, or if there is any good library that could help me (I tried keras-vis same outcome).
Thanks,
Tarik
The text was updated successfully, but these errors were encountered: