'RefVariable' object has no attribute '_id'

tensorflow运行出现错误:

AttributeError: 'RefVariable' object has no attribute '_id'

导入包时加入

tf.enable_eager_execution()

搞定.

发布了249 篇原创文章 · 获赞 198 · 访问量 47万+

猜你喜欢

转载自blog.csdn.net/qq_27009517/article/details/104517307