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

problem of .h5 to .pb #49

Open
YingXiuHe opened this issue Jun 19, 2019 · 0 comments
Open

problem of .h5 to .pb #49

YingXiuHe opened this issue Jun 19, 2019 · 0 comments

Comments

@YingXiuHe
Copy link

Hi, thanks for you to share this project for us. i followed this way to convert the model .h5 to .pb. https://github.com/amir-abdi/keras_to_tensorflow but i got a problem is that 'the model is read only' when i try to do it .
then i try to follow this way to use two ways to get a new model , the first is use model.save() to save the final model, and then to convert the .h5 to .pb, the error is that "yolo_head is not defined"
the second way is that i use model.save_weights(), and also save the model's json file use model.to_json(), when the code try to save the .json file, there also got the same problem that 'yolo_head is not defined'.
could please give me some advices on how to solve this problem . thanks very much .

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