Uploading yolov8-cls weights results in model upload failure

I trained a yolov8 classification model on ultralytics==8.0.196 (as yolo11 is not supported yet) and when uploading, I get this error constantly:

Model Upload Failed

This model upload failed. A failure usually occurs because of an older, incompatible model version or possibly a new type we don’t currently have support for.

Please try again with a new version and re-upload the model. If the error persists, reach out and we will be happy to help debug.

My upload command was as suggested:

from roboflow import Roboflow

rf = Roboflow(api_key=“YOUR_API_KEY”)
project = rf.workspace().project(“PROJECT_ID”)
project.version(DATASET_VERSION).deploy(
model_type=“yolov8-cls”,
model_path=f"/path/to/runs/classify/train/"
)

Please fix this bug. Generally, the uploading weights docs and support seem outdated and could use a refresh. Thanks!

Hi @pano!
I just wanted to let you know that I am looking into this and I will get you an answer. Thank you for contributing to the Roboflow community!

1 Like

Hi @pano!
Checking in. I believe we have identified the issue, but I am working to confirm this with the team to get you the best answer possible.

I will reach out once confirmed and we will update the documentation accordingly.

Thank you for your patience and understanding!

1 Like

Hi @pano!
To confirm, you used ultralytics==8.0.196 for both uploading and training?

Hey @Ford , yes that’s correct.

Hi @Pano!
Thank you again for your patience! I have talked with our models team and I apologize but we unfortunately do not support Ultralytics YOLO classification models at this time.

I will pass this request on to our team for consideration.

Additionally, we will update the docs page to clarify this. Apologies again for the confusion, have a wonderful day!