Skip to content

Commit 03c2447

Browse files
[Fix] Fix batch_size description error (open-mmlab#1802)
1 parent 13d4c39 commit 03c2447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/tutorials/customize_datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data = dict(
3333
- `train`, `val` and `test`: The [`config`](https://github.com/open-mmlab/mmcv/blob/master/docs/en/understand_mmcv/config.md)s to build dataset instances for model training, validation and testing by
3434
using [`build and registry`](https://github.com/open-mmlab/mmcv/blob/master/docs/en/understand_mmcv/registry.md) mechanism.
3535

36-
- `samples_per_gpu`: How many samples per batch and per gpu to load during model training, and the `batch_size` of training is equal to `samples_per_gpu` times gpu number, e.g. when using 8 gpus for distributed data parallel trainig and `samples_per_gpu=4`, the `batch_size` is `8*4=16`.
36+
- `samples_per_gpu`: How many samples per batch and per gpu to load during model training, and the `batch_size` of training is equal to `samples_per_gpu` times gpu number, e.g. when using 8 gpus for distributed data parallel trainig and `samples_per_gpu=4`, the `batch_size` is `8*4=32`.
3737
If you would like to define `batch_size` for testing and validation, please use `test_dataloaser` and
3838
`val_dataloader` with mmseg >=0.24.1.
3939

0 commit comments

Comments
 (0)