Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何可视化特征图 #7

Closed
zhaogev5 opened this issue Mar 9, 2022 · 7 comments
Closed

如何可视化特征图 #7

zhaogev5 opened this issue Mar 9, 2022 · 7 comments

Comments

@zhaogev5
Copy link

zhaogev5 commented Mar 9, 2022

您好,拜读了您的论文,非常好的工作。请问论文里的figure1可视化的两张图是如何得到的呢

@yzd-v
Copy link
Owner

yzd-v commented Mar 9, 2022

利用代码中方法计算空间(HxW)与通道注意力(1xC),得到其分布后用matplotlib和seaborn就可以画了

@yzd-v yzd-v closed this as completed Mar 10, 2022
@forever10086
Copy link

你好,spatial attention得到的结果是1HW,但是,channel attention得到的是C11,使用了什么方法来可视化?是将得到的attention值与特征图做element-wise乘法,在再将c个channel融合?

@yzd-v
Copy link
Owner

yzd-v commented Apr 10, 2022

@forever10086 可视化的就是attention图,所以分别有H*W的和一个C的图

@forever10086
Copy link

@forever10086 可视化的就是attention图,所以分别有H*W的和一个C的图

是的,可是channel attention是一个一维向量,如何做到二维表示?

@yzd-v
Copy link
Owner

yzd-v commented Apr 11, 2022

@forever10086 可视化的就是attention图,所以分别有H*W的和一个C的图

是的,可是channel attention是一个一维向量,如何做到二维表示?

view成二维

@forever10086
Copy link

@forever10086 可视化的就是attention图,所以分别有H*W的和一个C的图

是的,可是channel attention是一个一维向量,如何做到二维表示?

view成二维

$E%4RBH}SJKZLX86UNKZRA4

@eilenelxc
Copy link

image我的意思是如何生成这种带有检测框的可视化图

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants