Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ValueError: Unknown layer: RNet #35

Open
Dannobot opened this issue Jan 14, 2020 · 0 comments
Open

Getting ValueError: Unknown layer: RNet #35

Dannobot opened this issue Jan 14, 2020 · 0 comments

Comments

@Dannobot
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant