安裝Tensorflow 2.0後的坑has no attribute 'contrib'

AttributeError: module 'tensorflow' has no attribute 'contrib'git

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

解決辦法:
筆者簡單地pip uninstall tensorflow
裝回1.X的版本ide

相關文章
相關標籤/搜索