# All labels have same coordinates for all images

**URL:** https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517
**Category:** 🤝  Community Help
**Created:** [June 26, 2023, 2:15pm UTC](https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517 "2023-06-26T14:15:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sukumar\_Reddy](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/sukumar_reddy/32/2227_2.png) [@Sukumar\_Reddy](https://discuss.roboflow.com/u/Sukumar_Reddy)
#### Post date: [June 26, 2023, 2:15pm UTC](https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517/1 "2023-06-26T14:15:27Z")

</div>

Object detection - I uploaded around 500 images and annotated them.

But in labels folder for all images coordinates are same. label for each images is same except class id. Like in the below both labels 0.5, 0.5, 1, 1 are same.

4 0.5 0.5 1 1  
2 0.5 0.5 1 1

Apologies if it’s simple question. I am new to computer vision and training the models. I followed your video on youtube and worked on this. Can you please help me where I am wrong and how can I solve this problem.

---

<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: [June 27, 2023, 9:57am UTC](https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517/2 "2023-06-27T09:57:40Z")

</div>

Hi @Sukumar_Reddy,

Sorry to hear you’re having issues. I have some questions so I can try to help you better. What do your annotations look like?

Is this happening when you are viewing your downloaded dataset? If so, what type of format did you export with? (ex: COCO, YOLOv8, TFRecord, etc)

Also if you could share what Roboflow video you were following, that might be helpful.

---

<div class="post-metadata">

### Author: ![Sukumar\_Reddy](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/sukumar_reddy/32/2227_2.png) [@Sukumar\_Reddy](https://discuss.roboflow.com/u/Sukumar_Reddy)
#### Post date: [June 27, 2023, 10:02am UTC](https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517/3 "2023-06-27T10:02:16Z")

</div>

Hi @leo …Thank you for your reply. Yes I downloaded dataset and checked in datasets\train\labels folder. Each file has same coordinates (0.5 0.5 1 1)

I downloaded using Yolov8 by clicking on get snippet and selected zip download option and my model URL is [Vehicle detector Object Detection Dataset and Pre-Trained Model by Vehicle Detection](https://universe.roboflow.com/vehicle-detection-bpept/vehicle-detector-umlny)

Please let me know if anything needed.

---

<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: [June 27, 2023, 6:55pm UTC](https://discuss.roboflow.com/t/all-labels-have-same-coordinates-for-all-images/2517/4 "2023-06-27T18:55:06Z")

</div>

Hi @Sukumar_Reddy

I took a look at your dataset and I think I understand what might’ve gone wrong.

The first image in the test split was the following one, which did have the coordinates you mentioned:

 ![5_jpg.rf.02b2ffe0b5d33568c84e09e9690c56061](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/8/8ab279b430c3c563a9cd42a9c2ce69e1ce863f57.jpeg)  
The [annotation format for YOLOv8](https://roboflow.com/formats/yolov8-pytorch-txt) is `class_id center_x center_y width height` and since this entire image seems to be one object, that annotation makes sense. (It’s highlighting the entire image)

It appears you used the [Isolate Objects](https://blog.roboflow.com/isolate-objects) preprocessing feature. It’s intended to turn object detection datasets (drawing boxes around items) to a classification dataset (labeling one entire image) which I assume you don’t want.  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/6/62054f20b436807acdabe4e3d94dba23de75243f.png)

You can remove this preprocessing step when generating a new version, which should solve your issues.  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/c/c2d4abba4926db7a281772f6cdea5b57de96734e.png)

Hope this helps
