Open koyakuwe opened 1 year ago
Does anyone who read this message tell me how to generate Grad-CAM like in the image I attached:
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.
Does anyone who read this message tell me how to generate Grad-CAM like in the image I attached:![image](https://user-images.githubusercontent.com/67034253/199534573-afe72fca-4864-40c4-8ded-244d443a4ef4.png)
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.