How to convert YOLO's CLS or OBB model to an OpenVINO model

  1. Please share the error message, as it’s very difficult to help without the details of the error, see this post and this post for some helpful guidelines for helping others help you.
  2. Can you please run the following terminal commands in your Python environment:
yolo checks

and then

pip show openvino

then post the output from both?

Something else you might want to consider trying out as a test, is exporting a pretrained model:

from ultralytics import YOLO

model = YOLO("yolo11n-obb.pt")
ov_path = model.export(format="openvino")

if this works, then it’s likely an issue with the model weights you’re using. The error message when exporting your "punch_obb.pt" model will be critical to help any further.