RuntimeError: tf.placeholder() is not compatible with eager execution.
程序员文章站
2022-06-15 13:55:43
...
RuntimeError: tf.placeholder() is not compatible with eager execution.
在报错语句前加:
tf.compat.v1.disable_eager_execution()
推荐阅读
-
RuntimeError: tf.placeholder() is not compatible with eager execution.
-
RuntimeError: tf.placeholder() is not compatible with eager execution.和没有placeholder函数解决方法
-
RuntimeError: tf.placeholder() is not compatible with eager execution.解决方法
-
RuntimeError: tf.placeholder() is not compatible with eager execution.(亲测有效)