vit-explain
vit-explain copied to clipboard
fixed ticket #11 and a bug
- fixed the code example in README.md (issue #11) "unexpected keyword argument 'head_fusion'
- reset the value for attribute
self.attentionsandself.attention_gradientsbefore each forward pass so the we can use theVITAttentionGradRolloutobject to explain more than one images