TensorFlow报错:tf.placeholder() is not compatible with eager execution. 解决:tf.compat.v1.disable_eager_execution() 主要还是版本不对应。