# 'Model Upload is Processing' for Hours When Deploying YOLOv8n-seg Model on Roboflow

**URL:** <https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421>\
**Category:** 🤝  Community Help\
**Created:** [July 6, 2024, 8:23am UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421 "2024-07-06T08:23:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DomenicoAndreucci](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/domenicoandreucci/32/2944_2.png) [@DomenicoAndreucci](https://discuss.roboflow.com/u/DomenicoAndreucci)\
**Post date:** [July 6, 2024, 8:23am UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421/1 "2024-07-06T08:23:56Z")

</div>

**Hi everyone,**

I’m encountering an issue while trying to deploy a YOLOv8 segmentation model on Roboflow. Here’s what I’ve done so far:

**Steps Taken:**

1. Trained the YOLOv8n-seg model on Google Colab.
2. Created a new project on Roboflow and uploaded a fittitious image to create a dataset version, as I did not wish to upload my actual dataset.
3. Used the following script on Google Colab to deploy the model:

python

Copia codice

```auto
from roboflow import Roboflow

rf = Roboflow(api_key="[API key]")
project = rf.workspace("delirio-annotazione-foto").project("ciccio74")
version = project.version("1")

version.deploy(
    model_type="yolov8n-seg",
    model_path="/content/gdrive/My Drive/roboflow_ciccio74/best.pt"
)

```

The deployment process has been stuck at the “Model upload is processing. This page will automatically update when it’s ready to use.” message for several hours.

**Additional Information:**

- My internet connection is stable.
- I used the specified version of `ultralytics` (8.0.196).
- I tried creating a second version of the dataset and repeating the deployment process, but the issue persists.

Has anyone else encountered this issue? Any suggestions on how to resolve it?

Thanks for your help!

Domenico

---

<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, 3:20pm UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421/2 "2024-07-08T15:20:55Z")

</div>

Hey @DomenicoAndreucci

I believe the issue is coming from your `model_type` in the `version.deploy` function call. You should be putting `yolov8-seg` instead of `yolov8n-seg`.

> - yolov5, yolov5-seg
> 
> - yolov7, yolov7-seg
> 
> - yolov8, yolov8-seg, yolov8-cls, yolov8-pose
> 
> - yolov9
> 
> - yolov10

-[See our docs for more info](https://docs.roboflow.com/deploy/upload-custom-weights)

---

<div class="post-metadata">

**Author:** ![DomenicoAndreucci](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/domenicoandreucci/32/2944_2.png) [@DomenicoAndreucci](https://discuss.roboflow.com/u/DomenicoAndreucci)\
**Post date:** [July 9, 2024, 7:40am UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421/3 "2024-07-09T07:40:59Z")

</div>

Hi @leo Thank you so much for your assistance with the model deployment issue I was facing. Your guidance on using the correct model type (`yolov8-seg` instead of `yolov8n-seg`) was invaluable, and I successfully deployed my model on Roboflow.

However, I am encountering a new challenge related to the use of this model in CVAT for auto-annotation. When I upload an image on Roboflow, the elements are predicted correctly by the model. But, when I use the same image for auto-annotation in CVAT, the model fails to predict any elements.

I have also additional questions:

- Is it normal for models tested with images directly on Roboflow to accept images with dimensions exceeding 6000 pixels, while the same models require images to be resized to around 6000 pixels on the longer side for auto-annotation in CVAT?
- Are there any specific settings or configurations that I need to adjust to ensure consistent behavior between Roboflow and CVAT?

Thank you very much for your continued support and help.

---

<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 10, 2024, 12:49am UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421/4 "2024-07-10T00:49:59Z")

</div>

Hey @DomenicoAndreucci

> [@DomenicoAndreucci](#):
>
> However, I am encountering a new challenge related to the use of this model in CVAT for auto-annotation. When I upload an image on Roboflow, the elements are predicted correctly by the model. But, when I use the same image for auto-annotation in CVAT, the model fails to predict any elements.

For this question and others, although we do have an integration with CVAT, we don’t provide support for it since we don’t maintain it. I would recommend reaching out to any support options they have for more help regarding CVAT.

If you would like, you can use [Label Assist](https://docs.roboflow.com/annotate/use-roboflow-annotate/model-assisted-labeling) to use your existing models to label within Roboflow.

---

<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 31, 2024, 12:50am UTC](https://discuss.roboflow.com/t/model-upload-is-processing-for-hours-when-deploying-yolov8n-seg-model-on-roboflow/6421/5 "2024-07-31T00:50:10Z")

</div>

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