Autokeras and tensorflow

When trying to use the import Autokeras as ak I get an error
ModuleNotFoundError: No module named ‘tensorflow.keras.layers.experimental’
What do I do in this situation?

2 Likes

check the Tensorflow version
if version > 2.14 , it seems the latest version doesn’t support anymore this version module
Try : pip unisntall tensorflow
pip install tensorflow==2.14.*
HtH
Jacques

Did you find a sulution?

Hi @Aya_Monim Welcome to the Tensorflow Forum ,

Can You Try with this

!pip install --upgrade tensorflow tensorflow-addons autokeras

Thank You !