tensorflow 2.0以后没有 tensorflow.contrib
解决办法:
降低版本后问题解决
pip uninstall tensorflow #卸载tensorflow
pip install tensorflow==1.14.0 #安装tensorflow 1.13.1
https://blog.youkuaiyun.com/qq_40900585/article/details/105382992
本文解决TensorFlow 2.0中找不到tensorflow.contrib的问题。通过将TensorFlow版本降至1.14.0,该问题得到解决。具体操作包括卸载当前版本的TensorFlow并安装指定版本。
tensorflow 2.0以后没有 tensorflow.contrib
解决办法:
降低版本后问题解决
pip uninstall tensorflow #卸载tensorflow
pip install tensorflow==1.14.0 #安装tensorflow 1.13.1
https://blog.youkuaiyun.com/qq_40900585/article/details/105382992

被折叠的 条评论
为什么被折叠?