'converting from yolov4 or yolov5 to coreml

What is the typical process to convert a yolov4 or yolov5 model to coreml. I see things like Pytorch to Onnx to CoreML. I am using turicreate and stuck in yolov2 land. Has anyone tried this on v4 or v5?



Solution 1:[1]

To convert a YOLOv5 model into CoreML format:

python export.py --weights yolov5s.pt --include coreml

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Glenn Jocher