You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your great work !
And I want to ask that if we difine a ViT-like model such as model=timm.create_model('vit_small_patch16_224_in21k', pretrained=True) ,
how to get attention score matrixs of each layer in it ?
This discussion was converted from issue #1584 on December 08, 2022 21:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, thanks for your great work !
And I want to ask that if we difine a ViT-like model such as
model=timm.create_model('vit_small_patch16_224_in21k', pretrained=True)
,how to get attention score matrixs of each layer in it ?
Beta Was this translation helpful? Give feedback.
All reactions