[Refactor]: Refactor unit test file structures (#4600)
* Refactor unittest * Fix unittest * Fix unittest * Replace util with mmcv testing * Try to reduce the unit test memory
Showing
- tests/test_data/test_datasets/test_common.py 1 addition, 174 deletionstests/test_data/test_datasets/test_common.py
- tests/test_data/test_datasets/test_custom_dataset.py 83 additions, 0 deletionstests/test_data/test_datasets/test_custom_dataset.py
- tests/test_data/test_datasets/test_dataset_wrapper.py 80 additions, 0 deletionstests/test_data/test_datasets/test_dataset_wrapper.py
- tests/test_data/test_datasets/test_xml_dataset.py 22 additions, 0 deletionstests/test_data/test_datasets/test_xml_dataset.py
- tests/test_data/test_pipelines/test_formatting.py 1 addition, 1 deletiontests/test_data/test_pipelines/test_formatting.py
- tests/test_data/test_pipelines/test_loading.py 1 addition, 1 deletiontests/test_data/test_pipelines/test_loading.py
- tests/test_data/test_pipelines/test_sampler.py 0 additions, 0 deletionstests/test_data/test_pipelines/test_sampler.py
- tests/test_data/test_pipelines/test_transform/test_img_augment.py 0 additions, 0 deletions...st_data/test_pipelines/test_transform/test_img_augment.py
- tests/test_data/test_pipelines/test_transform/test_models_aug_test.py 3 additions, 3 deletions...ata/test_pipelines/test_transform/test_models_aug_test.py
- tests/test_data/test_pipelines/test_transform/test_rotate.py 0 additions, 0 deletionstests/test_data/test_pipelines/test_transform/test_rotate.py
- tests/test_data/test_pipelines/test_transform/test_shear.py 0 additions, 0 deletionstests/test_data/test_pipelines/test_transform/test_shear.py
- tests/test_data/test_pipelines/test_transform/test_transform.py 14 additions, 14 deletions...test_data/test_pipelines/test_transform/test_transform.py
- tests/test_data/test_pipelines/test_transform/test_translate.py 0 additions, 0 deletions...test_data/test_pipelines/test_transform/test_translate.py
- tests/test_metrics/test_box_overlap.py 0 additions, 0 deletionstests/test_metrics/test_box_overlap.py
- tests/test_metrics/test_losses.py 0 additions, 0 deletionstests/test_metrics/test_losses.py
- tests/test_models/test_backbones/__init__.py 3 additions, 0 deletionstests/test_models/test_backbones/__init__.py
- tests/test_models/test_backbones/test_hourglass.py 44 additions, 0 deletionstests/test_models/test_backbones/test_hourglass.py
- tests/test_models/test_backbones/test_regnet.py 58 additions, 0 deletionstests/test_models/test_backbones/test_regnet.py
- tests/test_models/test_backbones/test_renext.py 105 additions, 0 deletionstests/test_models/test_backbones/test_renext.py
- tests/test_models/test_backbones/test_res2net.py 62 additions, 0 deletionstests/test_models/test_backbones/test_res2net.py
File moved
File moved
File moved
File moved
File moved
File moved
tests/test_models/test_backbones/__init__.py
0 → 100644
Please register or sign in to comment