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

Grad-CAM or attention map #1587

Open
s9021025292140 opened this issue Jul 15, 2024 · 1 comment
Open

Grad-CAM or attention map #1587

s9021025292140 opened this issue Jul 15, 2024 · 1 comment
Labels

Comments

@s9021025292140
Copy link

Would it be possible to add functionality for Grad-CAM or attention map similar to those used in DINO?

Thank you!

@guarin
Copy link
Contributor

guarin commented Jul 16, 2024

Hi! For Grad-CAM it is probably best if you just use the grad cam library: https://github.com/jacobgil/pytorch-grad-cam
For the attention map visualization from DINO (here) the issue is mostly on how to make it work with other models than DINO. I guess it should be possible for any TIMM vision transformer, would definitely be a nice addition!

@guarin guarin added the feature label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants