2019年11月8日 星期五

[keras] ValueError: Unknown initializer: GlorotUniform


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

沒有留言: