mmpretrain/mmcls/apis
Zhicheng Chen da39ca6898
[Fix] Fix test sampler bug. (#611)
* sampler bugfixes

* sampler bugfixes

* reorganize code

* minor fixes

* reorganize code

* minor fixes

* Use `mmcv.runner.get_dist_info` instead of `dist` package to get rank
and world size.

* Add `build_dataloader` unit tests and fix sampler's unit tests.

* Fix unit tests

* Fix unit tests

Co-authored-by: mzr1996 <mzr1996@163.com>
2021-12-23 18:07:41 +08:00
..
__init__.py [Enchance] Set a random seed when the user does not set a seed. (#554) 2021-12-02 18:09:55 +08:00
inference.py [Fix] Fix a bug when load checkpoints in mulit-GPUs environment. (#527) 2021-11-10 17:54:43 +08:00
test.py [Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
train.py [Fix] Fix test sampler bug. (#611) 2021-12-23 18:07:41 +08:00