The Session graph is empty. Add operations to the graph before calling run().
K=tf.compat.v1.keras.backend
tf.compat.v1.disable_eager_execution()#保证sess.run()能够正常运行
The Session graph is empty. Add operations to the graph before calling run().
K=tf.compat.v1.keras.backend
tf.compat.v1.disable_eager_execution()#保证sess.run()能够正常运行