RuntimeError: tf.placeholder() is not compatible with eager execution.
在报错语句前加:
tf.compat.v1.disable_eager_execution()
RuntimeError: tf.placeholder() is not compatible with eager execution.
在报错语句前加:
tf.compat.v1.disable_eager_execution()