copy-paste-aug icon indicating copy to clipboard operation
copy-paste-aug copied to clipboard

An error occurred while using Copy-Paste!

Open rG223 opened this issue 3 years ago • 2 comments

ValueError: Expected x_max for bbox (0.65, 0.51, 1.12, 0.64, 3) to be in the range [0.0, 1.0], got 1.1234809015877545 Augmentation I use: aug_list = [A.Resize(800,800),
CopyPaste(blend=True, sigma=1, pct_objects_paste=0.6, p=0.5) #pct_objects_paste is a guess ] transform = A.Compose( aug_list, bbox_params=A.BboxParams(format="coco") ) Can anyone tell me where is the problem?

rG223 avatar Mar 14 '22 10:03 rG223

The original json data is LVIS Dataset. It's logically fine.

rG223 avatar Mar 14 '22 10:03 rG223

Check this: https://github.com/albumentations-team/albumentations/issues/459 particularly: https://github.com/albumentations-team/albumentations/issues/459#issuecomment-734454278

akazakci avatar Jan 10 '23 15:01 akazakci