yizt / Grad-CAM.pytorch

pytorch实现Grad-CAM和Grad-CAM++,可以可视化任意分类网络的Class Activation Map (CAM)图,包括自定义的网络;同时也实现了目标检测faster r-cnn和retinanet两个网络的CAM图;欢迎试用、关注并反馈问题...
Apache License 2.0
715 stars 166 forks source link

Question about "gradient" #56

Open myc1998 opened 1 year ago

myc1998 commented 1 year ago

When doing fasterrcnn-gradcam, after debugging, I found that the gradient parameter has always been None. The gradient parameter never gets data. Then it will be reported: 'NoneType' object is not subscriptable. There is no problem with the image path after checking. It would be appreciated if you could help.

Zhaowss commented 11 months ago

我也出现了这个问题这个怎么解决呀