Here’s official documents.It convert YOLO model to coreml model which is available on the swift apps.
If your model are the one detects objects, append “nms=True” param to the export method. NMS stands for non-max suppression.
mdl = model.export(format="coreml", nms=True)
Leave a Reply