I am trying to learn TensorFlow. Currently, I am working with placeholders. When I tried to create the placeholder, I got an error: RuntimeError: tf.placeholder() is not compatible with eager execution
, which makes sense as placeholders are not executable immediately.
So, how do I turn eager execution off?
I have never turned eager execution on in the first place, so I am not sure how it happened. Is there an opposite to tf.disable_eager_execution()
?
tf.executing_eagerly()
(e.g. after eachimport
) to try to find at what point it gets enabled. – jdehesa Nov 22 '18 at 12:00