Importerror: Cannot Import Name 'keras_tensor' From 'tensorflow.python.keras.engine'
I'm getting this error while loading the tensorflow addons library import tensorflow_addons as tfa ImportError: cannot import name 'keras_tensor' from 'tensorflow.python.keras.eng
Solution 1:
This error is because you have incompatibility issues between your TensorFlow, Python and tensorflow-addons. Uninstall the tensorflow-addons and install the version based on the table below. Refer the Github repo for more information.
Baca Juga
- Keras Input Shape Throws Value Error Expected 4d But Got An Array With Shape (60000, 28,28)
- Why Does My Keras Model Train After I Load It, Even Though I Have Not Actually Supplied Any New Training Data?
- Why The Model Is Training On Only 1875 Training Set Images If There Are 60000 Images In The Mnist Dataset?
Post a Comment for "Importerror: Cannot Import Name 'keras_tensor' From 'tensorflow.python.keras.engine'"