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!
The Python "ModuleNotFoundError: No module named 'tensorflow'" occurs when we forget to install the tensorflow module before importing it or install it in an incorrect environment. To solve the error, install the module by running the pip install tensorflow command.
Hub load is created by belt. tension. Belt tension, or the difference between. the tight side and slack side tension called the. effective tension, Te, is what creates torque.
Layers are the basic building blocks of neural networks in Keras. A layer consists of a tensor-in tensor-out computation function (the layer's call method) and some state, held in TensorFlow variables (the layer's weights).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With