解决办法:使用tf.compat.v1.get_default_graph获取图而不是tf.get_default_graph。
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
最新推荐文章于 2023-04-13 15:48:42 发布
解决办法:使用tf.compat.v1.get_default_graph获取图而不是tf.get_default_graph。