raise RuntimeError('The Session graph is empty. Add operations to the '
RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
需要同时添加:
import tensorflow._api.v2.compat.v1 as tf
**tf.disable_v2_behavior()**
raise RuntimeError('The Session graph is empty. Add operations to the '
RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
需要同时添加:
import tensorflow._api.v2.compat.v1 as tf
**tf.disable_v2_behavior()**