Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(utils): missing edge when resample segments #611

Merged
merged 1 commit into from
Sep 12, 2022

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
wheemyungshin-nota pushed a commit to wheemyungshin/yolov7 that referenced this pull request Dec 1, 2023
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.

None yet

2 participants