ReDet icon indicating copy to clipboard operation
ReDet copied to clipboard

请问怎么绘制热力图

Open CPF-314127 opened this issue 2 years ago • 3 comments

CPF-314127 avatar Mar 24 '22 07:03 CPF-314127

Assume we have feature maps F: [1,C,H,W], we just need a maxpooling on the channel dimension F_max = maxpool(F): [1,1,H,W]. Then we can use matplotlib to visualize F_max.

csuhan avatar Mar 24 '22 11:03 csuhan

你好,我得到的tensor是GeometricTensor,这个用matplotlib应该怎么处理呢?

------------------ 原始邮件 ------------------ 发件人: "csuhan/ReDet" @.>; 发送时间: 2022年3月24日(星期四) 晚上7:53 @.>; @.@.>; 主题: Re: [csuhan/ReDet] 请问怎么绘制热力图 (Issue #150)

Assume we have feature maps F: [1,C,H,W], we just need a maxpooling on the channel dimension F_max = maxpool(F): [1,1,H,W]. Then we can use matplotlib to visualize F_max.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

CPF-314127 avatar Mar 24 '22 12:03 CPF-314127

use F.tensor to get the pytorch tensor.

csuhan avatar Mar 24 '22 13:03 csuhan