can model.h5 be transfered to pb format and used in android neural network ?
beingnothing opened this issue · 3 comments
beingnothing commented
can model.h5 be transfered to pb format and used in android neural network ?
pranoyr commented
Ofcourse
beingnothing commented
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 commented
but when i convert model.h5 to pb format in tensorflow, it occured
following bug:
[image: 1541665296(1).png]
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?
Pranoy Radhakrishnan <notifications@github.com> 于2018年11月8日周四 下午1:02写道:
… Ofcourse
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Apf8twzQ0lr8ARbP1qDcjN8yFf7miQrsks5us7rugaJpZM4YQ3Ml>
.