When I run the /darkon-examples/GradcamDemo.ipynb, I got the error below:
`IndexError Traceback (most recent call last)
in ()
1 probs = insp._prob_ts
2 probs_eval = sess.run(probs,feed_dict={inputs:np.reshape(image1,(1,224,224,3))})
----> 3 top5_result = imagenet_decoder(probs_eval)
4 print(top5_result)
~/darkon-examples-master/gradcam/imagenet_decoder.py in imagenet_decoder(preds, top)
1007 result = []
1008 for i in range(top):
-> 1009 result.append((class_names[top_indices[i]], top_indices[i]))
1010 return result
IndexError: index 1 is out of bounds for axis 0 with size 1`
When I run the /darkon-examples/GradcamDemo.ipynb, I got the error below:
I'm using tensorflow 1.5.0