You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run prediction on python3 (Keras 2.2.4) and I get an error:
Preparing model...Traceback (most recent call last):
File "predict.py", line 33, in
model = load_model(args.model, custom_objects())
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 225, in _deserialize_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 458, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/home/ivan/.local/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 138, in deserialize_keras_object
': ' + class_name)
ValueError: Unknown layer: RNet
The problem with the Keras version or something else?
How can it be fixed?
The text was updated successfully, but these errors were encountered:
Hi everyone
I try to run prediction on python3 (Keras 2.2.4) and I get an error:
Preparing model...Traceback (most recent call last):
File "predict.py", line 33, in
model = load_model(args.model, custom_objects())
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 225, in _deserialize_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 458, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/home/ivan/.local/lib/python3.6/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/home/ivan/.local/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 138, in deserialize_keras_object
': ' + class_name)
ValueError: Unknown layer: RNet
The problem with the Keras version or something else?
How can it be fixed?
The text was updated successfully, but these errors were encountered: