-
Notifications
You must be signed in to change notification settings - Fork 517
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
Padding bug #1003
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mmyolo/mmyolo/datasets/transforms/transforms.py
Lines 292 to 302 in 8c4d9dc
The bottom and right padding may be positive, while the top and left padding is zero, causing an incorrect translation of the polygons and an incorrect output shape.
The code below addresses the bug:
The text was updated successfully, but these errors were encountered: