Closed OhJackHu closed 2 years ago
Hi, you can refer to the vit-pytorch repository to see how to visualize the attention map via the visualize_attention_map.ipynb file. Generally, you need to keep the attention score matrix and then utilize it to generate the attention map.
十分感谢!
Hi, you can refer to the vit-pytorch repository to see how to visualize the attention map via the visualize_attention_map.ipynb file. Generally, you need to keep the attention score matrix and then utilize it to generate the attention map.