action-recognition-pytorch icon indicating copy to clipboard operation
action-recognition-pytorch copied to clipboard

Grad-CAM

Open koyakuwe opened this issue 2 years ago • 0 comments

Does anyone who read this message tell me how to generate Grad-CAM like in the image I attached: image

I have used https://github.com/jacobgil/pytorch-grad-cam framework but my work fails (I can draw heatmap on frames; but every different raw frame has the same heatmap img).

My model is 2D ResNet and input shape is NT x C x H x W. Coded using PyTorch.

Thank you.

koyakuwe avatar Nov 02 '22 15:11 koyakuwe