# Custom Model Upload Failed

**URL:** <https://discuss.roboflow.com/t/custom-model-upload-failed/3194>\
**Category:** 🤝  Community Help\
**Tags:** bugs\
**Created:** [September 12, 2023, 1:59pm UTC](https://discuss.roboflow.com/t/custom-model-upload-failed/3194 "2023-09-12T13:59:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoky](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/yoky/32/2831_2.png) [@Yoky](https://discuss.roboflow.com/u/Yoky)\
**Post date:** [September 12, 2023, 1:59pm UTC](https://discuss.roboflow.com/t/custom-model-upload-failed/3194/1 "2023-09-12T13:59:34Z")

</div>

I am performing object detection using Yolov8. I successfully created a project, annotated images, and completed training both locally and using the Roboflow integrated feature.

But whenever I try to upload my model I receive a “Custom Model Upload failed” error. Here is the snippet of code I use:

```auto
# UPLOAD MODEL
from roboflow import Roboflow

rf = Roboflow(api_key="MY_API_KEY")
project = rf.workspace("uni-t4n52").project("chess-detection-ojob1")
project.version(7).deploy(model_type="yolov8", model_path="/runs/detect/train/"")

```

The upload completes correctly, although I receive the following warning/error:

```auto
Dependency ultralytics==8.0.134 is required but found version=8.0.175, to fix: `pip install ultralytics==8.0.134`

```

Although I’m using an updated version I receive this notice, Is this supposed to happen?

Anyway, the model uploads correctly but I can see the following:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/6/67fc69784b59acab4a91f84a9d4e7090a38de192.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:** [September 29, 2023, 8:15pm UTC](https://discuss.roboflow.com/t/custom-model-upload-failed/3194/2 "2023-09-29T20:15:12Z")

</div>

Hi @Yoky

Sorry to hear about your issues and apologies for the late response.

Are you still experiencing this issue? If so, could you follow the prompt that it showed saying to install the required version of Ultralytics? Discrepancies in the version could cause these issues.
