-
Notifications
You must be signed in to change notification settings - Fork 482
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
RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead. #75
Comments
disable eager execution |
any solutions!!! |
Adding these two lines to network.py worked for me. Thanks to @Mohamed209
|
it works thanks a lot. |
I had the same issue, but then got a cudNN error like this one. saying : Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above solved everything by adding this to
|
hi i was run this on colab and when i run this cell:
i got this error: RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead.
can someone tell me where i can use tf.GradientTape? thx
The text was updated successfully, but these errors were encountered: