mmengine/tests/test_data
Ma Zerun f0451a38f0
[Feature] Add data sampler (#30)
* Add DefaultSampler and InfiniteSampler

* Add unit test

* Add samplers to API reference

* Update docstring

* Improve according to comments

* Rename `num_replicas` to `world_size`

* Update docstring.

* Update mmengine/data/sampler.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update mmengine/data/sampler.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Fix typo in unit test

Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-02-21 13:08:55 +08:00
..
test_base_dataset.py [Refactor] Move fileio directory from utils (#23) 2022-02-15 23:43:20 +08:00
test_data_element.py add unit tests of data abstract interface (#21) 2022-02-16 23:19:18 +08:00
test_data_sample.py add unit tests of data abstract interface (#21) 2022-02-16 23:19:18 +08:00
test_sampler.py [Feature] Add data sampler (#30) 2022-02-21 13:08:55 +08:00