I am trying to predict on my test set and I get the following error
AttributeError: 'Functional' object has no attribute 'uses_learning_phase'
The model is created from the Class Model imported from from keras.engine import Module
All the module I imported are from tensorflow.keras
except for the package mentioned above.
I also tried Importing everything from Keras alone but I still get the same error !
I have tensroflow 2.0 and keras 2.4.3