Hello. You can use the following code to download the N model and convert it to ONNX: from ultralytics import YOLO model = YOLO("yolov8n-seg.pt") model.export(format="onnx") or the following code to download the S model and convert it to ONNX: from ultralytics import YOLO model = YOLO("yolov8s-seg.pt") model.export(format="onnx")
Hello Sir. I visit your git and star it! But how can i download the lightweight version like ''N'' of onnx (not ''M'' not''S'' )
Hello. You can use the following code to download the N model and convert it to ONNX:
from ultralytics import YOLO
model = YOLO("yolov8n-seg.pt")
model.export(format="onnx")
or the following code to download the S model and convert it to ONNX:
from ultralytics import YOLO
model = YOLO("yolov8s-seg.pt")
model.export(format="onnx")
@@germanovdev6964 Yes. Thank you so much .