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

An error occurred while using Copy-Paste! #16

Open
rG223 opened this issue Mar 14, 2022 · 2 comments
Open

An error occurred while using Copy-Paste! #16

rG223 opened this issue Mar 14, 2022 · 2 comments

Comments

@rG223
Copy link

rG223 commented Mar 14, 2022

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
Copy link
Author

rG223 commented Mar 14, 2022

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

@akazakci
Copy link

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

No branches or pull requests

2 participants