I trained a model and save it as import os model.save('') , I want to use my model to make prediction on new test set so I load it by model = tf.keras.models.load_model('') ..
it shows me this waring (WARNING:tensorflow:SavedModel saved prior to TF 2.5 detected when loading Keras model. Please ensure that you are saving the model with model.save() or tf.keras.models.save_model(), NOT tf.saved_model.save(). To confirm, there should be a file named "keras_metadata.pb" in the SavedModel directory.)
The problem is now when I make prediction , it gives me inaccurate results.. it seems as the same prediction of the training/testing set not for the new one
Also , I notice that the tensoerflow type is 2.6 but when I saved the model it was 2.5 .. is this a problem ? Please I need a help as soon as possible.