-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
Support for imgaug #1954
Comments
@5starkarma yes we welcome PRs! I'm not familiar with imgaug, though we have had requests for Albumentations ops, which might go in datasets.py. Note that you should profile any modifications to verify that performance speed is unaffected by the proposed changes as part of the PR as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@5starkarma can you give an example of how you integrate imgaug in yolov5, trying to augment as well |
the best place to insert Albumentation augmentations into the YOLOv5 dataloader is here: Lines 536 to 552 in 6306091
where Lines 21 to 33 in 6306091
|
@glenn-jocher quick question on your comment here "Note that any Albumentation augmentations you add will be in addition to the existing automatic YOLOv5 augmentations defined in your hyperparameter file" Do you mean if i set mixup to 0.1, it will augment the data with an additional 10% of mixed up images making it 110%? Or is it going to be 90% normal and 10% mixed augmented? Also i cant seem to integrate imgaug, any pointers in case you saw someone integrate it before? Thanks |
@lleye 0.10 mixup means 10% of your images will use mixup. |
🚀 Feature
imgaug is very popular and is easy to work with. I am wondering if I put in PR's which allowed use of imgaug, such as
BoundingBox
instances, to be used in parts of the program if it would be approved.e.g. The
plot_one_box
function could accept then convertBoundingBox
instances to the proper format (tensor) for easy plotting of bboxes.Example:
Motivation
I use imgaug, albumentations uses imgaug. It is very easy to use.
Pitch
Add functionality which allows use of imgaug.
The text was updated successfully, but these errors were encountered: