You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a tf.Tensor as a Python bool is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function.
#8
Open
galrapo opened this issue
Dec 4, 2019
· 2 comments
I'm trying to run the demo as instructed and I get the following: tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a tf.Tensoras a Pythonbool is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function..
I'm using windows 7 (with an i7 processor and w/o GPU)... not sure if it has any connection.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
the error message suggests that you are using Tensorflow v2.0 (that's the earliest version in which eager execution was introduced). DeepVOG was developed with Tensorflow v1.14, and has not yet been migrated to TF 2.0, and I don't expect this to happen before next year. For now, I would recommend downgrading TF to a version <2.0 (e.g. 1.14), and trying again. The easiest way to apply it to your data is to download and run the Docker image, as described in the documentation.
Hope this helps!
Thank you for your answer.
Could you precise in the Project Description that tensorflow v1.14 is needed to run deepvog? It is not intuitive, and I spent quite some time before finding this information...
Now I am spending some time to install tensorflow 1.14, not supported anymore by new Ubuntu versions... Do you have an idea if deepvog will migrate to TF2 soon?
Thank you for your work and your help.
Hi,
I'm trying to run the demo as instructed and I get the following:
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a
tf.Tensoras a Python
boolis not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function.
.I'm using windows 7 (with an i7 processor and w/o GPU)... not sure if it has any connection.
Thanks in advance!
The text was updated successfully, but these errors were encountered: