- Install following Ultralytics official documentation (pip ultralytics package version >= 8.3.0) and export the model in different formats, you can use the following commands:
yolo export model=yolov8/yolo11 n/s/m/x-seg.pt format=onnx/torchscript/openvino
- Run from yolov5 repo export script:
python export.py --weights <yolov5seg_version>.pt --include [onnx,torchscript]