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

yolo bbox format #916

Closed
wants to merge 4 commits into from
Closed

Conversation

Gorogorov
Copy link

As mentioned several times in Pull Requests, conversion from yolo format to albumentations format and back loses accuracy. This is due to the conversion of coordinates from float to integer and back. Since the yolo format is already normalized, there is no need to convert anything to integer. I removed the unnecessary conversions and edited one of the tests.

I was not able to reproduce this bug on an image of size 100 by 100, so I added tests with images of other sizes that the current version of the library does not pass.

@Dipet
Copy link
Collaborator

Dipet commented May 31, 2021

More information there #883

@Dipet
Copy link
Collaborator

Dipet commented Jul 7, 2021

This problem was fixed by #924

@Dipet Dipet closed this Jul 7, 2021
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