title: Cant properly load saved model and call predict method
body: <p>I am having trouble loading large model after saving.</p>
  <p>have tried all below saveing methods:</p>
  <pre><code>tf.saved_model.save(model, model_save_path)
  model.save(model_save_path+&quot;_new_save&quot;)
  tf.keras.models.save_model(model, model_save_path+&quot;_v3&quot;)
  </code></pre>
  <p>error when loading :</p>
  <p>method 1</p>
  <pre><code>m2=tf.keras.models.load_model(model_save_path+&quot;_v3&quot;)
  error:
   __init__() got an unexpected keyword argument 'reduction'
  </code></pre>
  <p>method 2</p>
  <pre><code>m3=tf.keras.models.load_model(model_save_path
  
  error:
  ARNING: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 &quot;keras_metadata.pb&quot; in the SavedModel directory.
  ValueError: Unable to create a Keras model from SavedModel at xxxx . This SavedModel was exported with `tf.saved_model.save`, and lacks the Keras metadata file. Please save your Keras model by calling `model.save`or `tf.keras.models.save_model`. Note that you can still load this SavedModel with `tf.saved_model.load`.
  </code></pre>
  <p>method 3</p>
  <pre><code>m4=tf.saved_model.load(model_save_path)
  
  this works but m4 object has no predict method 
  and not able to use 
  
  model.signatures[&quot;serving_default&quot;](**input_data)
  
  or
  
  model.__call__(input_data,training=False)
  
  to predict on data
  </code></pre>
  <p>any help would be appreciated</p>