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

can model.h5 be transfered to pb format and used in android neural network ? #2

Open
beingnothing opened this issue Nov 6, 2018 · 3 comments

Comments

@beingnothing
Copy link

No description provided.

@pranoyr
Copy link
Owner

pranoyr commented Nov 8, 2018

Ofcourse

@pranoyr pranoyr closed this as completed Nov 8, 2018
@beingnothing
Copy link
Author

but when i convert model.h5 to pb format in tensorflow, it occured following bug:
File "/home/savio/helmet-detection/helmet-detection/backend.py", line 43, in space_to_depth_x2
NameError: name 'tf' is not defined
such bug occured when i called the method load_model(filepath) in code
can you tell why? whether there is lack of other file besides model.h5?

@beingnothing
Copy link
Author

beingnothing commented Nov 8, 2018 via email

@pranoyr pranoyr reopened this Nov 8, 2018
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

2 participants