TSD icon indicating copy to clipboard operation
TSD copied to clipboard

Spatial sensitive heatmap

Open DingShengLin opened this issue 4 years ago • 4 comments

How can i get the spatial sensitive heatmap ? Just like the bear.

DingShengLin avatar Oct 29 '20 04:10 DingShengLin

I have the same question. Could you tell me the idea you draw it?

fengqian-wei avatar Nov 14 '20 07:11 fengqian-wei

@DingShengLin May be you can use CAM to output the spatial sensitive heatmap.

BlueCCircles avatar Nov 30 '20 08:11 BlueCCircles

Hi, we obtain the sensitive heatmap depends on the accuracy of the classification and regression of the region proposal in this location. Specifically, given a feature map H in the detector, we can obtain the corresponding region proposals in each coordinate in H and then forward them into the detection head to obtain the classification score and IoU of regression. Take the classification sensitive heatmap for example, we assign the sensitive score S*C for each coordinate in a proposal via its classification score C. The central point will be assigned a value of S=1, where S is computed by a 2-D Gaussian function, fading from the center of the suggestion box to the edge. By computing all of the sensitive scores for each coordinate, we can draw this spatial sensitive heatmap. The regression sensitive heatmap can be obtained with the same method.

songguanglu avatar Dec 03 '20 11:12 songguanglu

@songguanglu Thank you for your explanation. Is it convenient to make the code public?

wnynotfaker avatar Jun 02 '21 03:06 wnynotfaker