How to augment data to increase the number of instances being trained on? #3698
Unanswered
mohamedamrali1993
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am having a hard time understanding "Augmentation" in the context of Detectron2. It seems like the Data Augmentation page is striving to create variations within the dataset, but not necessarily "augmenting" as in increasing the size of the dataset. i.e. if I have a dataset with 100 images and I apply RandomBrightness() transformation to 5% of the data, I still end up with 100 images. Not 105! Am I understanding this correctly?
I tracked down the process of data augmentation, and at no point did I see data being appended to a larger query (with original images + transformed images), which is eventually sent to the model. Here is what I understand so far:
I would like to increase the number of images that I am training on, and their respective transformed labels. Is this doable using Detectron2 and is it a good idea for Mask R-CNN? FAIR's 2018 Mask R-CNN paper has a small section in Appendix B that talks about "Train-time augmentation" where they scale images (if I am understanding things correctly), but I am not sure if they are actually training on the original + scaled images.
If this can be done using Detectron2 then please advise (including code examples), if not, I would imagine this would be a good enhancement.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions