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')
https://stackoverflow.com/questions/53183865/unknown-initializer-glorotuniform-when-loading-keras-model
沒有留言:
張貼留言