Closed GloamXun closed 10 months ago
论文中出现的DeiT-tiny的Attention Map的可视化是如何完成的,想问一下有没有相关的代码可以参考一下,感谢
Hi @GloamXun, we provide the code for visualization right here. You can use the get_attn_matrix function to obtain the attention map. Hoping that it could address your needs.
get_attn_matrix
论文中出现的DeiT-tiny的Attention Map的可视化是如何完成的,想问一下有没有相关的代码可以参考一下,感谢