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
I fixed the problem:
Before:
from keras.models import load_model classifierLoad = load_model('model/modeltest.h5')
Works for me
import tensorflow as tf classifierLoad = tf.keras.models.load_model('model/modeltest.h5')