facebookresearch / facebookresearch/detectron2

Detectron2 Augmentation Dataloader in-place or copy of image

Open
#4,463 4 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

In regards to the Augmentation techniques in Detectron2 and using a custom dataloader. I was wondering when doing these augmentations is there a copy of the image being made and then doing the augmentation (in effect increasing our dataset and still training on the original image)? Or is it taking our image in the dataset and doing a augmentation in-place randomly?

I haven't seen this stated explicitly anywhere unless I missed it.

I ask because I want to increase my dataset with augmented images since it is small in size.

Thank you for any clarification

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Read the Detectron2 augmentation and custom dataloader entry points to determine whether transforms copy or mutate images and whether they persist augmented samples; done means documenting that behavior and how to create an expanded dataset, if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.