yizt / Grad-CAM.pytorch

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about "gradient"

myc1998 opened this issue · comments

commented

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.

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