Skip to content

Commit eb5ea47

Browse files
authored
Update customize_datasets.md (open-mmlab#2249)
1 parent b42c487 commit eb5ea47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/tutorials/customize_datasets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data = dict(
3434
using [`build and registry`](https://github.com/open-mmlab/mmcv/blob/master/docs/en/understand_mmcv/registry.md) mechanism.
3535

3636
- `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 training and `samples_per_gpu=4`, the `batch_size` is `8*4=32`.
37-
If you would like to define `batch_size` for testing and validation, please use `test_dataloaser` and
37+
If you would like to define `batch_size` for testing and validation, please use `test_dataloader` and
3838
`val_dataloader` with mmseg >=0.24.1.
3939

4040
- `workers_per_gpu`: How many subprocesses per gpu to use for data loading. `0` means that the data will be loaded in the main process.
@@ -43,7 +43,7 @@ data = dict(
4343

4444
**Note:** before v0.24.1, except `train`, `val` `test`, `samples_per_gpu` and `workers_per_gpu`, the other keys in `data` must be the
4545
input keyword arguments for `dataloader` in pytorch, and the dataloaders used for model training, validation and testing have the same input arguments.
46-
In v0.24.1, mmseg supports to use `train_dataloader`, `test_dataloaser` and `val_dataloader` to specify different keyword arguments, and still supports the overall arguments definition but the specific dataloader setting has a higher priority.
46+
In v0.24.1, mmseg supports to use `train_dataloader`, `test_dataloader` and `val_dataloader` to specify different keyword arguments, and still supports the overall arguments definition but the specific dataloader setting has a higher priority.
4747

4848
Here is an example for specific dataloader:
4949

0 commit comments

Comments
 (0)