📜  ValueError:未知初始化程序:GlorotUniform - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:47.387000             🧑  作者: Mango

代码示例1
import keras
from keras.models import load_model
from keras.utils import CustomObjectScope
from keras.initializers import glorot_uniform

with CustomObjectScope({'GlorotUniform': glorot_uniform()}):
        model = load_model('imdb_mlp_model.h5')