Can I convert the output from YOLOv8 Object Detection guide by Roboflow into an ONNX format?

I’m new to machine learning and I followed the step-by-step guide of Roboflow on how to create a YOLOv8 object detection model using my own dataset. Is it possible to convert what I got here into ONNX format? I need this format to use for other software. Any help would be appreciated thank you.

Hi @JUSTIN_DENIEL_AQUINO

Our YOLOv8 notebook only supports model exports with .pt PyTorch files. What’s your use case for exporting to ONNX?

For converting to ONNX, PyTorch has a resource on it

Also, if you want to deploy your model, you can consider one of our deployment options, including our hosted API or packages like roboflow.js

1 Like