copy-paste-aug
copy-paste-aug copied to clipboard
Copy-paste augmentation for segmentation and detection tasks
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. 
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. 
` 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...
 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' ```