Unknown initializer: GlorotUniform when loading Keras model

I ran into the same issue. After changing:

from tensorflow import keras

to:

import keras

life is once again worth living.


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')