PaddleViT icon indicating copy to clipboard operation
PaddleViT copied to clipboard

能否提供TranFormer可视化效果CAM图的实现代码

Open peach-xiao opened this issue 2 years ago • 1 comments

很多论文中为了解释模型的可行性,采用了可视化模型输出的某一层特征图,使用热力图显示,注意基于TransFormer和CNN的模型可视化方法有所不同,PaddleVIT能否集成这些可视化方案呢?

目前已有人实现了这些方法,可以参考这些github连接: https://github.com/hila-chefer/Transformer-Explainability https://github.com/jacobgil/pytorch-grad-cam

image

peach-xiao avatar May 08 '22 13:05 peach-xiao

Thanks for the issue.
非常好的建议,对于使用PaddleViT做研究的同学来说的确是比较有用的一个工具。 我这边会尽快调研相关功能并开始实现。

如果有任何其他需求,请随时提issue。

Thanks!

xperzy avatar May 09 '22 05:05 xperzy