New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Tensor' object has no attribute 'ndim' #93
Comments
Hi, @YIsonP . Thank you for your reporting. I tried to reproduce your problem, I didn't get the error. Thanks! |
Hi @keisen. Thanks for reply. here is my env: |
Hi, @YIsonP , Thank you for sharing the notebook. The cause of the error is Thanks! |
Hi @keisen |
Anytime! |
First, great Thanks to this masterpiece! It really saved my life when I found this toolkit. But I got some errors while I was trying to visualize my model via saliency map.
I think the problem is from the format of seed_input, I followed exactly the same way as the tutorial did, using one image, using img_to_array to process it, and passing the array to the seed_input, but some how seed_inputs were transformed into a tensor such that it has no attribute 'ndim', I tried to transform X into ndarray by K.eval(X), but so far it didn't work well. Many thanks for all the help!!
The text was updated successfully, but these errors were encountered: