Skip to content

Conversation

HRan2004
Copy link
Contributor

@HRan2004 HRan2004 commented Aug 24, 2022

One small problem. When resample segments, missing an edge from the last point to the first.
Eg: https://github.com/HRan2004/Yolo-ArbV2/blob/main/data/images/debug01.png
When the polygon is cut, the missing edge will lead to the wrong position of the GT box.

I have submitted PR to yolov5. ultralytics/yolov5#8092
The author of yolov5 tested on the segments dataset and verified that this indeed solved a bug. https://wandb.ai/glenn-jocher/test-segmentfix

@AlexeyAB AlexeyAB merged commit 2e99efb into WongKinYiu:main Sep 12, 2022
nelioasousa pushed a commit to nelioasousa/yolov7 that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants