how to use augmentation in train_net.py ? #3310
Unanswered
leesangjoon1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Augmentations are already applied in the provided training scripts. [08/16 20:26:52 d2.data.datasets.coco]: Loaded 1408 images in COCO format from ./2011/train/instances_images.json
[08/16 20:26:52 d2.data.build]: Removed 0 images with no usable annotations. 1408 images left.
[08/16 20:26:52 d2.data.build]: Distribution of instances among all 1 categories:
| category | #instances |
|:----------:|:-------------|
| ssg | 9363 |
| | |
[08/16 20:26:52 d2.data.dataset_mapper]: [DatasetMapper] Augmentations used in training: [ResizeShortestEdge(short_edge_length=(2048, 2048), max_size=4096, sample_style='choice'), RandomFlip()]
[08/16 20:26:52 d2.data.build]: Using training sampler TrainingSampler
[08/16 20:26:52 d2.data.common]: Serializing 1408 elements to byte tensors and concatenating them all ...
[08/16 20:26:52 d2.data.common]: Serialized dataset takes 12.88 MiB Above is an example of the augmentations of the DefaultTrainer - resize and random flip. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I wonder how to use augmentation in train_net.py
and if the augmentation is applied, where can I check the which augmentation is applied?
and can I use cutmix augmentation in detectron2?
Beta Was this translation helpful? Give feedback.
All reactions