after writing import tensorflow_hub, the following error emerges:
class LatestModuleExporter(tf.estimator.Exporter):
AttributeError: module 'tensorflow.python.estimator.estimator_lib' has no attribute 'Exporter'
I'm using python 3.6 with tensorflow 1.7 on Windows 10
thanks!
You should have at least tensorflow 1.7.0, upgrate by:
pip install "tensorflow>=1.7.0"
pip install tensorflow-hub
and then:
pip install tensorflow-hub
source: here