# Yolo8 polygon annotations "ignoring corrupt image/label: non-normalized or out of bounds coordinates"

**URL:** <https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263>\
**Category:** 🤝  Community Help\
**Created:** [January 23, 2024, 10:12am UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263 "2024-01-23T10:12:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel-Weber-ETH](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/manuel-weber-eth/32/3697_2.png) [@Manuel-Weber-ETH](https://discuss.roboflow.com/u/Manuel-Weber-ETH)\
**Post date:** [January 23, 2024, 10:12am UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/1 "2024-01-23T10:12:25Z")

</div>

Hi all,

I am training a yolo v8 object detection model. My annotations are polygons (not bounding boxes). I get plenty of the following warnings when attempting training:  
“val: WARNING ⚠ C:\image.jpg: ignoring corrupt image/label: non-normalized or out of bounds coordinates [1.0064]”

In other posts I have seen that yolo v8 should be able to train based on polygon annotations. I have tried to deactivate “auto-orient” in the preprocessing steps as suggested elsewhere, the problem however persists.

Any help would be appreciated.

Thanks and best regards.

---

<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:** [January 24, 2024, 7:43am UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/2 "2024-01-24T07:43:17Z")

</div>

Hi @Manuel-Weber-ETH

Is this issue occurring when you are attempting to train an object detection or instance segmentation model using polygon annotations?

Also, could you share the Univese link (or workspace and project ID) of the project that this is occurring with, along with the image file name that’s experiencing this error?

---

<div class="post-metadata">

**Author:** ![Manuel-Weber-ETH](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/manuel-weber-eth/32/3697_2.png) [@Manuel-Weber-ETH](https://discuss.roboflow.com/u/Manuel-Weber-ETH)\
**Post date:** [January 24, 2024, 9:29am UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/3 "2024-01-24T09:29:27Z")

</div>

Hi @leo

Thank you for your answer. This issue is occurring when I am attempting to train an object detection model using polygon annotations.

It is the following project:  
@misc{ spatially-exlicit-stocking-rates\_dataset,  
title = { Spatially Exlicit Stocking Rates Dataset },  
type = { Open Source Dataset },  
author = { Carrying Capacities },  
howpublished = { \url{ [https://universe.roboflow.com/carrying-capacities/spatially-exlicit-stocking-rates](https://universe.roboflow.com/carrying-capacities/spatially-exlicit-stocking-rates) } },  
url = { [https://universe.roboflow.com/carrying-capacities/spatially-exlicit-stocking-rates](https://universe.roboflow.com/carrying-capacities/spatially-exlicit-stocking-rates) },  
journal = { Roboflow Universe },  
publisher = { Roboflow },  
year = { 2024 },  
month = { jan },  
note = { visited on 2024-01-24 },  
}

Some of the images that cause the issue (however there are plenty):  
RCNX1591\_JPGG.rf.b63dabfa3be42015f76daba2b7cdf3de.jpg  
RCNX1593\_JPGG.rf.19f8f4f6d15ea511cb6007862a066f40.jpg  
RCNX1594\_JPGG.rf.c67c52fc16a412262bc281b70f705daf.jpg  
RCNX1601\_JPGG.rf.056d26ac04b4ff99726fc6bee511a669.jpg  
RCNX1601\_JPGG.rf.0b7b60842a2b2222433f4905964571d9.jpg  
RCNX1820\_JPGG.rf.4b7382eed3a771f6e2860a4e0b83b51e.jpg  
RCNX0406\_JPG.rrf.83f879ac84896fd93c97d49e3c0d1105.jpg

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![amirt](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@amirt](https://discuss.roboflow.com/u/amirt)\
**Post date:** [January 25, 2024, 4:11pm UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/4 "2024-01-25T16:11:40Z")

</div>

We are also experiencing the same problem with an instance segmentation model using polygon annotations when importing a dataset to a YOLOv8 format.  
All the polygons points are within the image but for some reason when imported some of them aren’t normalized properly which result in the out of bounds error message.

---

<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:** [January 25, 2024, 10:22pm UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/5 "2024-01-25T22:22:30Z")

</div>

Hi @Manuel-Weber-ETH @amirt

This issue may be [related to a bug](https://discuss.roboflow.com/t/export-instance-segmentation-project-to-yolo-formatted-txt/4283/6) we recently fixed. Please generate a new version and follow up if the issue persists.

---

<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:** [February 2, 2024, 8:04am UTC](https://discuss.roboflow.com/t/yolo8-polygon-annotations-ignoring-corrupt-image-label-non-normalized-or-out-of-bounds-coordinates/4263/7 "2024-02-02T08:04:31Z")

</div>

Closed on February 2, 2024, 8:04am UTC

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