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

Copy-paste augmentation for segmentation and detection tasks

Results 11 copy-paste-aug issues
Sort by recently updated
recently updated
newest added

Hi @conradry , first of all thanks for your great work, I want to use copy paste to copy annotation from original image to a background image without annotations. How...

_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...

The Mosaic transformation can not be used for Instance Segmentation? I constructed the instance segmentation config according to the format of objecti detection (add ‘gt_masks’), but get an error. ![image](https://user-images.githubusercontent.com/59324642/158130712-e30f59f7-1499-4ba1-b49e-7c1ea825c0bf.png)

Hi, Thanks for your work. Could you tell me how do I use copy-paste-aug in instance segmentation. Thanks a lot :)

how to integrate with detectron2?

Thank you for your work. But may more situations should be considered. With no changes to your example script , the aug failed for my aerial image. There is no...

TypeError: __init__() takes from 3 to 5 positional arguments but 6 were given. ![image](https://user-images.githubusercontent.com/37127150/129129569-4021b0f6-e6f5-4094-a915-d5fb7df769c9.png)

` img_data = self.load_example(idx) File "/home/sanjayghanagiri/copy-paste-aug/coco.py", line 54, in load_example img_id = self.ids[index] IndexError: list index out of range` I am facing issues with finding right dataset to test. I...

![image](https://github.com/user-attachments/assets/8038dc4b-5f36-435e-b776-ea87a0af4b23) in line params = self.update_params(params, **kwargs)

Python 3.10 ``` > import copy_paste ImportError: cannot import name 'CopyPaste' from partially initialized module 'copy_paste' ```