Closed ZHuiLBo closed 6 years ago
Hey, I changed the model from VGG to Alexnet a while ago and the target layer in gradcam was left as 35. Since Alexnet doesn't have that many layers it produces the error. Changed the target layer to 11. It should work as now.
It worked!Thank u very much
Great!
I ran "python gradcam.py" command in the './src/' directory , and i got the AttributeError: 'NoneType' object has no attribute 'data', how to solve this problem?