Open kirk86 opened 7 years ago
I also got the same error. Did you solve it?
I also got the same error. Did you solve it?
TBH, I don't remember what I did but I would suggest using updated versions of keras and python 3.6 at least.
Then I would create a simple model only with convolutional and dense layers. Avoid any dropout and batchnorm.
The other thing that I remember is that grad-cam operates only on tensors so make sure that your input to grad cam is the output of a conv layer from your model such that the output of that layer is a 3D or 4D tensor.
I hope these might help.
Hi and thanks for this. I was wondering if you could give me a hint on why I receive the following error every time that I use the grad-cam.
Here is a traceback of the error:
Here is my model: