You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following bug which was already addressed here but apparently the bug still persists in albumentations version 1.3.0:
ValueError(f"Expected {name} for bbox {bbox} to be in the range [0.0, 1.0], got {value}.")
ValueError: Expected y_max for bbox (0.14792899408284024, 0.9671641791044776, 0.28205128205128205, 1.0029850746268656, tensor(2)) to be in the range [0.0, 1.0], got 1.0029850746268656.
I am using the following augmentations for an object detection problem:
After much debugging the problem was due to negative values in bounding boxes data for their x and y coordinates as well as heights and widths of bounding boxes.
The bug is defiantly there, I'm assuming some numbers after decimal point somehow is messing up the calculation in the backed, you can try limiting the numbers (your bbox label values) after decimal point to 6 or 10 and try again.
Library has critical bugs for sure. You might have to find a new library for augmentation if the issue persists for you
🐛 Bug
I am getting the following bug which was already addressed here but apparently the bug still persists in albumentations version
1.3.0
:I am using the following augmentations for an object detection problem:
Expected behavior
Bounding boxes should not be larger than image dimensions after transformations.
Environment
1.3.0
3.7.12
Linux-5.15.89+-x86_64-with-debian-bullseye-sid
conda
,pip
, source):pip
Additional context
GPU info: Cuda: Tesla P100-PCIE-16GB
The text was updated successfully, but these errors were encountered: