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

convert .h5 to .pb #48

Open
panguxiaoshen opened this issue Jun 13, 2019 · 3 comments
Open

convert .h5 to .pb #48

panguxiaoshen opened this issue Jun 13, 2019 · 3 comments

Comments

@panguxiaoshen
Copy link

I have changed the structure of the model, and use "model.save()" to save the model. When I use "h5_model = load_model(weight_file_path, custom_objects={'yolo_loss': lambda y_true, y_pred: y_pred})", an error happended.

File "/home/ubuntu/lmy/program/keras-YOLOv3-mobilenet/yolo3/model.py", line 375, in yolo_loss
grid, raw_pred, pred_xy, pred_wh = yolo_head(yolo_outputs[l],
NameError: name 'yolo_head' is not defined

@panguxiaoshen
Copy link
Author

@Adamdad 老铁求助!

@Rainweic
Copy link

我在原版的keras-yolov3里看到了相关的解决办法 但是我看不懂 不知道老铁能不能参考解决下。。。
感觉有用的就是issues#48 #344

@raozhongyu
Copy link

我在原版的keras-yolov3里看到了相关的解决办法 但是我看不懂 不知道老铁能不能参考解决下。。。
感觉有用的就是issues#48 #344

同学请问你解决了吗

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

3 participants