# Define a test set

**URL:** <https://discuss.roboflow.com/t/define-a-test-set/1652>\
**Category:** 🤝  Community Help\
**Created:** [March 9, 2023, 1:51pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652 "2023-03-09T13:51:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![diramazioni](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/diramazioni/32/1380_2.png) [@diramazioni](https://discuss.roboflow.com/u/diramazioni)\
**Post date:** [March 9, 2023, 1:51pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/1 "2023-03-09T13:51:11Z")

</div>

Hello to all,  
This is my first post here and I’m still exploring things, and I’m missing something obvious: how to define a test set once the image has been uploaded?  
They show up in the Assign tab but they are not meant to be labeled since they are test images.

I did find the option to define train/val/test portions/set on the generate tab but I’ve uploaded the Test/val images separately, so now how can I put the other images in the dataset and define them as test set?

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [March 9, 2023, 2:43pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/2 "2023-03-09T14:43:20Z")

</div>

Hi @diramazioni - on Roboflow, you will want to label the test images, actually.

The reason for this is because we provide the ability to compare Ground Truth labels to Model Predictions on your Valid and Test sets with the Visualize feature that is available on versions with a trained model / model weights.

- I say more on the utility of the Visualize feature in this video: [How to Use Dataset Health Check to Improve Model Quality - YouTube](https://www.youtube.com/watch?v=aUFz6P4dtk4)

> **[Train, Validation, Test Split and Why You Need It](https://blog.roboflow.com/train-test-split/)**
>
> At Roboflow, we often get asked, what is the train, validation, test split and why do I need it? The motivation is quite simple: you should separate you data into train, validation, and test splits to prevent your model from overfitting and to...

If you want to ignore this option, then you can take the images you want to use for the test set, and upload them to a separate project instead, to later export and “merge”, or include, with the remaining dataset images.

---

<div class="post-metadata">

**Author:** ![diramazioni](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/diramazioni/32/1380_2.png) [@diramazioni](https://discuss.roboflow.com/u/diramazioni)\
**Post date:** [March 9, 2023, 10:29pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/3 "2023-03-09T22:29:08Z")

</div>

I see. since the test images has not been annotated, can I use the model I’ve trained so far in colab with label assist? I cannot seems to find a way to import the weights

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [March 9, 2023, 10:52pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/4 "2023-03-09T22:52:31Z")

</div>

Yes, but it depends on the model you’ve trained, and project type.

We currently offer model weights uploads from custom trained models for these architectures:

1. YOLOv8 Object Detection
2. YOLOv5 Object Detection
3. YOLOv7 Instance Segmentation

> **[Upload Weights](https://docs.roboflow.com/upload-weights)**
>
> Roboflow offers the ability to upload model weights for your custom-trained models to your Roboflow projects for model deployment.

---

<div class="post-metadata">

**Author:** ![diramazioni](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/diramazioni/32/1380_2.png) [@diramazioni](https://discuss.roboflow.com/u/diramazioni)\
**Post date:** [March 10, 2023, 5:45pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/5 "2023-03-10T17:45:19Z")

</div>

I’m making a YOLOv8 Object Detection project, and following the notebook you have provided at the end it fails to deploy because it says another version is present (even if I never reached this stage before)  
On the web interface I’ve then tried to click deploy but that got stuck and after several hours I still see the spinning circle.  
What should I do?  
thanks

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [March 10, 2023, 6:22pm UTC](https://discuss.roboflow.com/t/define-a-test-set/1652/6 "2023-03-10T18:22:18Z")

</div>

Hi @diramazioni - please see this post for instructions on how to remedy this: [ANNOUNCEMENT: Custom Model Weights Upload Overview](https://discuss.roboflow.com/t/announcement-custom-model-weights-upload-overview/1618/1)

You’ll need to generate a new version. We’re working on a stable fix for the issue as well.
