-
Notifications
You must be signed in to change notification settings - Fork 191
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
Example code doesn't work #5
Comments
What if you replace
|
I am using tensorflow 2.x and the example code simple does not work. Anybody else facing the same issue? |
You can resize your image to (229,229) when testing. |
We unfortunately haven't had the chance to update this library to TF 2 and there are some internal calls that depend on TF 1 sessions. You should be able to use it with TF 1 still. One way I can imagine generalizing this library is to separate gradient computation code from saliency computation code (pass a gradient function separately) to make the library work with any python model. |
Examples/code overhauled in #49, issue is now obsolete. |
Hi. I tried to play with the same code, inception model graph and test image (doberman.png) which you provided in examples section as iPython notebook. But I got an error during making the prediction:
Do you have any idea how to force example code to work?
Thanks.
The text was updated successfully, but these errors were encountered: