标签:res 原因 cal linear ESS div ade attribute class
Traceback (most recent call last): File "linear_regression_eager_api.py", line 15, in <module> tf.enable_eager_execution() AttributeError: module ‘tensorflow‘ has no attribute ‘enable_eager_execution‘
在tensorflow模型训练的遇到这个报错
原因:tensorflow版本太老了,没有‘enable_eager_execution‘这个属性方法
解决:pip install --upgrade tensorflow
更新tensorflow
AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'
标签:res 原因 cal linear ESS div ade attribute class
原文地址:https://www.cnblogs.com/yizipiaoxiang/p/10496354.html