pranoyr/head-detection-using-yolo

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

beingnothing opened this issue · 3 comments

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

Ofcourse

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?