Spaces:
Sleeping
Sleeping
File size: 219 Bytes
7370e5c |
1 2 3 4 5 6 7 8 |
from ultralytics import YOLOv10
model = YOLOv10('yolov10n.yaml')
model.model.model[-1].export = True
model.model.model[-1].format = 'onnx'
del model.model.model[-1].cv2
del model.model.model[-1].cv3
model.fuse() |