Export the Fine‑Tuned Model to ONNX
Convert the best YOLOv11n weights into an ONNX file for Hailo compilation and copy it to another machine if needed.
After training, convert your best model weights into the ONNX format. Ultralytics provides an export command to perform this conversion. After exporting, you may want to rename the file and copy it to your calibration machine for compilation.
bash
cd runs/y11n_finetune/weights
yolo export model=best.pt format=onnx imgsz=640 simplify=True nms=False
mv best.onnx yolov11n_finetune.onnx
# Copy the ONNX model to your Hailo compilation machine
scp yolov11n_finetune.onnx <USER>@<HOSTNAME>:~