# Failed Custom YOLOv7-seg Weights Upload

**URL:** <https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658>\
**Category:** 🤝  Community Help\
**Created:** [November 8, 2023, 4:59pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658 "2023-11-08T16:59:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [November 8, 2023, 4:59pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/1 "2023-11-08T16:59:24Z")

</div>

Hello everyone. I have trained a yolov7-seg model with the workflow recommended by Roboflow. However, when I uploaded my custom weights to the workspace, the process failed. I would like to know if I could get the error logs and have a closer look at the problems. Thank you.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/2/2b084fdf551d0bbfb7a229f57db185961b682740.png)

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [November 10, 2023, 2:11am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/2 "2023-11-10T02:11:23Z")

</div>

Hello, could anyone help me please?

---

<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:** [November 21, 2023, 11:16pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/3 "2023-11-21T23:16:07Z")

</div>

Hi @lester1027

Model upload errors usually occur when the notebook used was altered in an incompatible way, has an outdated version of a required package installed, or hasn’t completed.

Could you generate a new version and try again? If this problem persists, could you share the notebook link, as well as your project’s Universe link or workspace & project ID?

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [November 26, 2023, 5:16pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/4 "2023-11-26T17:16:55Z")

</div>

This is the link of my project. Thank you.

> **[Makinoi Object Detection Dataset by Lester So](https://universe.roboflow.com/lester-so-h8rfw/makinoi)**
>
> 2167 open source mahjong-tiles images. Makinoi dataset by Lester So

---

<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:** [November 28, 2023, 4:54am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/5 "2023-11-28T04:54:25Z")

</div>

Hi @lester1027, did it occur again after trying with a new version?

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [November 28, 2023, 2:24pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/6 "2023-11-28T14:24:20Z")

</div>

Yes, it occurred again and again even after many trials.

---

<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:** [November 29, 2023, 9:20pm UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/7 "2023-11-29T21:20:20Z")

</div>

Hi @lester1027

Could you both share your copy of the notebook that you are using? (If you share the link itself, it will share a blank one)

You can do this by saving a copy to your Google Drive, then click Share (next to the comment button in the upper right corner) and Copy Link. Make share to change the sharing settings so that anyone can view.

![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/a/ad7e8e7e9094707cc5e1176d1c32e1f6cc40d09b.png)

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [December 13, 2023, 2:10am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/8 "2023-12-13T02:10:59Z")

</div>

Dear @leo

Thank you for your reply. This is the link to the notebook I used.

> **[20230928\_yolo\_v7\_seg.ipynb](https://drive.google.com/file/d/15V5TgHpvuxg1uVDCJNozmVmZeqyNkj6l/view?usp=sharing)**
>
> Google Drive file.

I augmented the dataset locally on my computer. However, the format of the training folder is the same as the one shown in Roboflow’s yolov7 segmentation tutorial.

Thank you.

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [December 27, 2023, 2:08am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/9 "2023-12-27T02:08:00Z")

</div>

Hello, is there any update? Thank you.

---

<div class="post-metadata">

**Author:** ![lester1027](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lester1027/32/3234_2.png) [@lester1027](https://discuss.roboflow.com/u/lester1027)\
**Post date:** [January 8, 2024, 7:46am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/10 "2024-01-08T07:46:18Z")

</div>

@leo Could you please help me? Thank you very much.

---

<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:** [January 22, 2024, 7:47am UTC](https://discuss.roboflow.com/t/failed-custom-yolov7-seg-weights-upload/3658/11 "2024-01-22T07:47:15Z")

</div>

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