Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
loaded_model = model_from_json(loaded_model_json) File "/usr/local/lib/python3.6/dist-packages/keras/engine/", line 664, in model_from_json return deserialize(config, custom_objects=custom_objects) File "/usr/local/lib/python3.6/dist-packages/keras/layers/", line 168, in deserialize printable_module_name='layer') ValueError: Unknown initializer: GlorotUniform
I am getting this error while loading my already trained models,help me how to fix this.
Larz60+ wrote Feb-12-2020, 11:27 PM:
Please post all code, output and errors (in it's entirety) between their respective tags. I did it for you this time, Here are instructions on how to do it yourself next time.
Try doing the below:

from tensorflow import keras


import keras

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)