AttributeError: module 'tensorflow.python.estimator.estimator_lib' has no attribute 'Exporter'
683 ワード
使用
誤報
AttributeError: module ‘tensorflow.python.estimator.estimator_lib’ has no attribute ‘Exporter’
解決:
tensorflow>=1.7.0でtensorflow_を使用できます.hub
古いバージョンtensorflowをアンインストールする必要があります
再インストールtensorflow>=1.7.0
そして
参照先:https://stackoverflow.com/questions/49773418/cannot-load-tensorflow-hub
import tensorflow_hub as hub
誤報
AttributeError: module ‘tensorflow.python.estimator.estimator_lib’ has no attribute ‘Exporter’
解決:
tensorflow>=1.7.0でtensorflow_を使用できます.hub
古いバージョンtensorflowをアンインストールする必要があります
conda uninstall tensorflow
#
pip uninstall tensorflow
#
conda uninstall tensorflow-gpu
#
pip uninstall tensorflow-gpu
再インストールtensorflow>=1.7.0
pip install tensorflow==1.7
#
conda install tensorflow-gpu=1.7 keras
そして
pip install tensorflow-hub
参照先:https://stackoverflow.com/questions/49773418/cannot-load-tensorflow-hub