安装Tensorflow 2.0后的坑has no attribute ‘contrib‘

时间:2019-11-01 15:27:17   收藏:0   阅读:17486
AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘

The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

解决办法:
笔者简单地pip uninstall tensorflow
装回1.X的版本

原文:https://blog.51cto.com/cfy10/2446977

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!