Yolov3: How to convert .pt model to mlmodel

Created on 28 Feb 2020  路  4Comments  路  Source: ultralytics/yolov3

Is it possible to convert to mlmodel from .pt model?

iOS App

Most helpful comment

Using this repo you export to ONNX, from there you export to coreml.

The ONNX export is very simple. You set ONNX_export = True in models.py, then run detect.py with your desired export model/settings. You can also search the issues for various other methods.

All 4 comments

Of course, this is how we send our model to our iOS app:

Can you please point me to right direction on how to convert it? any script that can help me?

Using this repo you export to ONNX, from there you export to coreml.

The ONNX export is very simple. You set ONNX_export = True in models.py, then run detect.py with your desired export model/settings. You can also search the issues for various other methods.

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alex1101a picture Alex1101a  路  5Comments

kaaier picture kaaier  路  3Comments

Rajasekhar06 picture Rajasekhar06  路  3Comments

Aria20155 picture Aria20155  路  3Comments

yoga-0125 picture yoga-0125  路  4Comments