-
Notifications
You must be signed in to change notification settings - Fork 2
Add mosaic and copy-paste augmentations #162
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
Conversation
…et enhancement - Introduced MosaicAugmentation class to combine images in a grid layout. - Added CopyPasteAugmentation class to enhance images by pasting objects from other images. - Updated DictDataset methods to support new augmentation functionalities. - Refactored existing methods for clarity and consistency, including deprecating the store_coco_roboflow_format method in favor of save. - Improved annotation handling and bounding box adjustments in the dataset processing.
|
Need to add it to CLI and document it better. |
|
LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Co-authored-by: ivan.murabito <ivan.murabito@focoos.ai>
|
Cursor Agent can help with this pull request. Just |
Co-authored-by: ivan.murabito <ivan.murabito@focoos.ai>
|
Cursor Agent can help with this pull request. Just |
Note
Introduce mosaic and copy-paste augmentations with a CLI to generate/save augmented datasets, and update DictDataset to use a new save method with COCO export fixes.
MosaicAugmentationandCopyPasteAugmentationwith bbox remapping and optional blending.focoos/data/datasets/dict_dataset.py):save(output_dir)for Roboflow COCO export; deprecatestore_coco_roboflow_formatin favor ofsave.category_idoffset by +1; defaultiscrowdto 0.from_segmentation.Written by Cursor Bugbot for commit d85453a. This will update automatically on new commits. Configure here.