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

GRAM importance score #49

Open
thomas-reimonn opened this issue Jul 23, 2024 · 2 comments
Open

GRAM importance score #49

thomas-reimonn opened this issue Jul 23, 2024 · 2 comments

Comments

@thomas-reimonn
Copy link

Hi!

The nature biotech paper describes importance scores using GRAM in extended figure 9 and the methods. I can't find how to compute them in the GitHub repo. Can you point me in the right direction? Thanks!

@tanjimin
Copy link
Owner

Hi @thomas-reimonn yes unfortunately the GRAM calculation is not included here because it didn't work as well as attention scores from our experiments. If you want to calculate it, the mechanism is very similar to grad-cam. Here is an implementation for CV models and should be easy to adapt to C.Origami: https://github.com/tanjimin/grad-cam-pytorch-light

@thomas-reimonn
Copy link
Author

Thanks! This is really useful!

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