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

I forgot to mention, and include in my example, you probably need to include the task argument when loading your model. See this issue for more info:

So the example from before should be:

from ultralytics import YOLO, ASSETS

image = ASSETS / "bus.jpg"
- ov_model= YOLO("A_obb_openvino_model")
+ov_model= YOLO("A_obb_openvino_model", task="obb")

results = ov_model.predict(img, imgsz=1024)