I trained my CNN (VGG) through google colab and generated .h5 file. Now problem is, I can predict my output successfully through google colab but when i download that .h5 tr
if you are loading the architecture and weights separtly, while loading archtiecture of the model change :
models.model_from_json(json)
to :
tf.keras.models.model_from_json(json)
and the problem is solved