Keras Model AttributeError:’str‘ object has no attribute ’call‘

This problem is because you are using load_ Single quotation marks are used in model, and double quotation marks are always used in Python

keras_model = tf.keras_models.load_model("./test.h5")

Double quotes are also used when writing

open("./test1.tflite","wb").write(tflite_model)

Read More: