Grad-CAM.pytorch icon indicating copy to clipboard operation
Grad-CAM.pytorch copied to clipboard

图像分割图怎么实现grad-cam

Open JackeyGHD1 opened this issue 5 years ago • 9 comments

大神,大哥,大佬,求给点指导,就是分割图怎么做grad-cam啊

JackeyGHD1 avatar May 06 '20 11:05 JackeyGHD1

分割已经是像素级结果,不需要cam图

| | 易作天 | | 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2020年05月06日 19:48,JackeyGHD1 写道:

大神,大哥,大佬,求给点指导,就是分割图怎么做grad-cam啊

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

yizt avatar May 06 '20 12:05 yizt

比如说一些attention的可视化会用的呀 截屏2020-05-06 下午8 10 00

JackeyGHD1 avatar May 06 '20 12:05 JackeyGHD1

@JackeyGHD1 您好,请问截图来源哪里?

yizt avatar May 06 '20 12:05 yizt

ACFNet: Attentional Class Feature Network for Semantic Segmentation,这篇文章

JackeyGHD1 avatar May 06 '20 12:05 JackeyGHD1

@JackeyGHD1 收到,谢谢,我先看看这篇文章,再给您回复哈

yizt avatar May 06 '20 12:05 yizt

我可以加你个微信吗

JackeyGHD1 avatar May 06 '20 12:05 JackeyGHD1

比如说一些attention的可视化会用的呀 截屏2020-05-06 下午8 10 00

您好,请问您这个问题解决了吗?

Stark-Chang avatar Oct 09 '21 00:10 Stark-Chang

分割已经是像素级结果,不需要cam图 | | 易作天 | | 邮箱:[email protected] | 签名由 网易邮箱大师 定制 在2020年05月06日 19:48,JackeyGHD1 写道: 大神,大哥,大佬,求给点指导,就是分割图怎么做grad-cam啊 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

大佬您好,同问如何可视化语义分割里的grad-cam,分类使用的是one-hot编码,分割用的是二维的label,是否需要修改以下代码? output = self.net(inputs) # [1,num_classes] if index is None: index = np.argmax(output.cpu().data.numpy()) target = output[0][index] target.backward() 这段代码如何根据语义分割的label进行修改呢?请大佬赐教!

Stark-Chang avatar Oct 09 '21 00:10 Stark-Chang

请问 问题解决了吗

luosi1997 avatar Feb 08 '23 05:02 luosi1997