-
Notifications
You must be signed in to change notification settings - Fork 540
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
Error: ('Keyword argument not understood:', 'freeze') while trying to convert RetinaNet (.h5) --> (.pb) #57
Comments
Have the same error. Does any one have the idea to fix? |
Your model has custom layers. You need to pass the custom objects to the load_model command. |
Thanks a lot! I will try and let you know:-) |
Thanks:-) It works
|
I am facing the same issue, where should I pass this and how? |
I figured in out, this is how its done in keras_to_tensorflow.py Then comment line 62 and add the following like this |
It works!!! thanks!!!! |
I downloaded a pre trained Keras model from:
https://github.com/fizyr/keras-retinanet/releases/download/0.4.1/resnet50_coco_best_v2.1.0.h5
Keras and Tensorflow version:
I tried with keras version 2.1.0 too, get the same error.
I get the error with command:
python keras_to_tensorflow.py -input_model_file resnet50_coco_best_v2.1.0.h5
The text was updated successfully, but these errors were encountered: