-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ValueError: Expected x_max for bbox to be in the range [0.0, 1.0], got 1.0025. #922
Comments
Valid values lie in |
But why is it I got error like this when I'm trying to transform the image? This is the original bounding box
|
Am I right that for the second box:
|
Should be fixed by #924 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug
I tried to transform images using RandomResizedCrop with its bounding box (yolo format). But, there are images that when the program tried to transform the bounding box, I got error saying that the bounding box value (after transformation) is not in the range of 0-1. I already checked the original bounding box, and there is nothing wrong with the original bounding box value.
This is my pipeline
This is the code to place the bounding box to an array and transform it
And this is the error
The text was updated successfully, but these errors were encountered: