# Wrong Ultralytics version when uploading model to Roboflow workspace

**URL:** <https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349>\
**Category:** 🤝  Community Help\
**Created:** [June 28, 2024, 8:12am UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349 "2024-06-28T08:12:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonNg231](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jasonng231/32/3095_2.png) [@JasonNg231](https://discuss.roboflow.com/u/JasonNg231)\
**Post date:** [June 28, 2024, 8:12am UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/1 "2024-06-28T08:12:52Z")

</div>

Hi. I am currently training object detection model YOLOv10-L on my spectrogram dataset on Google Colab. When I deploy my model to Roboflow, i’m getting the error down here. I have tried running pip install ultralytics==8.0.196 in the beginning but it didn’t work.

The error on my workspace is " 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](https://roboflow.com/contact) and we will be happy to help debug."

Is there any way to resolve this issue?

 ![Screenshot from 2024-06-28 15-08-48](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/a/aa1dd637298744b6be47e92a350da9a00df41de1.png)

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [June 29, 2024, 12:59am UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/2 "2024-06-29T00:59:31Z")

</div>

Hey @JasonNg231

As it suggests in the error message, occasionally different versions of the `ultralytics` package can cause trouble with the model upload process. Please install the suggested version and try again. Let us know if the issues persist after this.

---

<div class="post-metadata">

**Author:** ![JasonNg231](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jasonng231/32/3095_2.png) [@JasonNg231](https://discuss.roboflow.com/u/JasonNg231)\
**Post date:** [July 4, 2024, 10:02am UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/3 "2024-07-04T10:02:47Z")

</div>

Hi leo.  
I tried installing different version of Ultralytics but for some reason, it’s still giving the same errror. I ran the installation in the beginning of the code too.

---

<div class="post-metadata">

**Author:** ![JasonNg231](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jasonng231/32/3095_2.png) [@JasonNg231](https://discuss.roboflow.com/u/JasonNg231)\
**Post date:** [July 5, 2024, 2:19am UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/4 "2024-07-05T02:19:00Z")

</div>

Actually when I install the required version before importing the model, I get this error down here.

 ![Screenshot from 2024-07-05 09-17-08](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/c/c108f7d8fc495518e77dc7adac59efe4c272631b.png)

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [July 8, 2024, 9:09pm UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/5 "2024-07-08T21:09:03Z")

</div>

Hey @JasonNg231

We generally don’t provide support for the Ultralytics package since it isn’t maintained by us, but from a quick look, it looks like you are trying to import `YOLOv10` from `ultralytics`, not `YOLO` (which I believe is the proper module).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [July 29, 2024, 9:09pm UTC](https://discuss.roboflow.com/t/wrong-ultralytics-version-when-uploading-model-to-roboflow-workspace/6349/6 "2024-07-29T21:09:41Z")

</div>

Closed on July 29, 2024, 9:09pm UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
