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

Attention Maps Visualization #795

Open
TahaKoleilat opened this issue Jan 15, 2024 · 0 comments
Open

Attention Maps Visualization #795

TahaKoleilat opened this issue Jan 15, 2024 · 0 comments

Comments

@TahaKoleilat
Copy link

How can I get the attention weights from an open_clip model? The clip library had the option to allow attention weights by setting need_weigths to True, and then the attention weights are returned in model.encode_image. How can this be done with this library?

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

1 participant