# How can i upload my custom weights on latest version?

**URL:** <https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137>\
**Category:** 🤝  Community Help\
**Created:** [September 5, 2023, 5:26pm UTC](https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137 "2023-09-05T17:26:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sejun\_Bak](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/sejun_bak/32/2785_2.png) [@sejun\_Bak](https://discuss.roboflow.com/u/sejun_Bak)\
**Post date:** [September 5, 2023, 5:26pm UTC](https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137/1 "2023-09-05T17:26:41Z")

</div>

- \*\*Project Type: yolov5 object detection
- \*\*Operating System & Browser: mac os, google colab
- \*\*Project Universe Link or Workspace/Project ID: [car\_bus\_truck\_Detection Object Detection Dataset and Pre-Trained Model by carDetection](https://universe.roboflow.com/cardetection-cpd1v/car_bus_truck_detection)

I installed the latest version of my dataset into colab with the download code and trained using the yolov5 model.

Afterwards, I want to upload a custom dataset to the third version, but an error occurs.

> **[Launch: Deploy Custom Model Weights with Roboflow](https://blog.roboflow.com/deploy-custom-model-weights-roboflow/)**
>
> In this guide, you will learn how to deploy custom model weights on Roboflow.

I wrote the code by referring to the two websites above, but an error continues to occur.

Like the code on the website, if I type .deploy() as [model\_type=”yolov5”], an error occurs and it doesn’t run at all.

Can you tell me the code to upload the completed model in colab?

---

<div class="post-metadata">

**Author:** ![sejun\_Bak](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/sejun_bak/32/2785_2.png) [@sejun\_Bak](https://discuss.roboflow.com/u/sejun_Bak)\
**Post date:** [September 6, 2023, 1:48am UTC](https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137/2 "2023-09-06T01:48:13Z")

</div>

Solved. When exporting, I downloaded the snippet for Jupyter Notebook, installed the dataset, and then pasted the code from the docs and it worked normally. I received an error because I installed the dataset using the curl code.

---

<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 9, 2023, 6:52am UTC](https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137/3 "2023-09-09T06:52:09Z")

</div>

I’m glad you got your issue solved and thank you for following up with your fix to help other people who experience similar issues.

---

<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:** [September 19, 2023, 6:52am UTC](https://discuss.roboflow.com/t/how-can-i-upload-my-custom-weights-on-latest-version/3137/4 "2023-09-19T06:52:47Z")

</div>

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