-
Notifications
You must be signed in to change notification settings - Fork 237
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
ValueError: Tried to convert 'x' to a tensor and failed. Error: None values not supported. #17
Comments
experiencing the same issue. Found this as well: |
I am also getting the same error, can this issue be fixed? |
I made it work following piece of code from : https://github.com/tensorflow/tensorflow/issues/783
and transforming from |
osimeoni's answer worked out for me |
I get another error when i use: |
I finally find out where is key problem:
|
For everyone who is facing the same issue: I forked this repository and fixed all errors I was facing. #27 |
@PowerOfCreation Thanks, it really helps. It works! |
For anyone who still experience this error with tensorflow 2.x. The default argument at tf.gradients (unconnected_gradients='none') causes this error. Set it to ='zero' could solve your problem. |
Add requirements.txt for faster environment setup. Fixes on top of https://github.com/jacobgil/keras-grad-cam (as of today, July 12th 2021): - jacobgil/keras-grad-cam#17 (comment) - jacobgil/keras-grad-cam#21 (comment)
Initial commit Add initial Grad-CAM implementation and other initial files Add requirements.txt for faster environment setup. Fixes on top of https://github.com/jacobgil/keras-grad-cam (as of today, July 12th 2021): - jacobgil/keras-grad-cam#17 (comment) - jacobgil/keras-grad-cam#21 (comment) Add modifications to add thresholding Add yapf config for vscode, move requirements.txt, and format code Fix links to show sample images in keras-grad-cam Move files src folder and modify gitignore Convert folders into packages Add preprocessing functions Remove guided backprop code from grad-cam Re-format grad-cam folder and add first version of algo Remove keras_grad_cam examples and information
Add requirements.txt for faster environment setup. Fixes on top of https://github.com/jacobgil/keras-grad-cam (as of today, July 12th 2021): - jacobgil/keras-grad-cam#17 (comment) - jacobgil/keras-grad-cam#21 (comment)
Add requirements.txt for faster environment setup. Fixes on top of https://github.com/jacobgil/keras-grad-cam (as of today, July 12th 2021): - jacobgil/keras-grad-cam#17 (comment) - jacobgil/keras-grad-cam#21 (comment)
I am getting the following error when I am trying to run your code on one of the example images. Is this due to some missing package? Thanks!
The text was updated successfully, but these errors were encountered: