Skip to content

Saliency maps are the same for different targets #564

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

Open
98haiting opened this issue Mar 21, 2025 · 1 comment
Open

Saliency maps are the same for different targets #564

98haiting opened this issue Mar 21, 2025 · 1 comment

Comments

@98haiting
Copy link

Hi,
I followed the clip example, with the last layer of vision encoder as the target layer. I tried with two output target, but the saliency maps are the same. Do you have any idea what the problem could be?

@Fernando-crz
Copy link

If you want to create different GradCAM Images for different output targets, you should use different calls to the forward method to your CAM model, one for each output target.

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