An error occurred while using Copy-Paste!
rG223 opened this issue · 2 comments
rG223 commented
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 commented
The original json data is LVIS Dataset. It's logically fine.
akazakci commented
Check this:
albumentations-team/albumentations#459
particularly:
albumentations-team/albumentations#459 (comment)