I tried to run Auotokeras and was hit with the error message upon import autokeras:
ImportError: cannot import name 'preprocessing' from 'tensorflow.keras.layers.experimental'
I think this is due to some version mismatch, - so I suggest that the documentation should include the needed tensorlfow / keras versions.
I am currently on:
Keras: 2.2.4
Tensorflow: 1.15.0
OS: Windows 10
Thank you for your help
Hi @kevinkit , the minimum tensorflow requirement is 2.1.0 .
It would be great if this requirement could be documented.
Thank you very much for that information and fast reply - is there a version requirement for Keras, too?
@jcrodriguez1989 Yeah, I will add it to the documentation later today. Thx
@kevinkit We are actually using the tf.keras (Keras inside TensorFlow package) instead of the standalone Keras.
So you don't need to worry about the installation of Keras as long as you installed the correct version of TensorFlow. Thx
I have both requirements satisfied still getting the same error.
Keras: 2.3.1
Tensorflow: 2.0.0
OS: Mac OS Mojave
It is tensorflow 2.1.0 like already said above
It's working now. Missed the minor version of TF. Thanks for reply!
@kevinkit Thank a lot for making a perfect guideline !
Solved the issue by upgrading tensorflow.
Most helpful comment
@jcrodriguez1989 Yeah, I will add it to the documentation later today. Thx
@kevinkit We are actually using the tf.keras (Keras inside TensorFlow package) instead of the standalone Keras.
So you don't need to worry about the installation of Keras as long as you installed the correct version of TensorFlow. Thx