raise RuntimeError(“tf.placeholder() is not compatible with “ RuntimeError: tf.placeholder() is not Solution: Add: tf.compat.v1.disable_eager_execution()