You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: