mmpretrain/tests
Ma Zerun c127c474b9
[Feature] Support getting model from the name defined in the model-index file. (#1236)
* [Feature] Support getting model from the name defined in the model-index file.

* Add unit tests.

* Prevent import `timm` if the `TIMMBackbone` is not used.

* Fix Windows CI.

* Move `init_model` to `mmcls.apis.hub`, and support pass nn.Module to all
model components.

* Fix requirements

* Rename `hub.py` to `model.py` and add unit tests.
2022-12-06 17:00:22 +08:00
..
data [Feature] Support getting model from the name defined in the model-index file. (#1236) 2022-12-06 17:00:22 +08:00
test_apis [Feature] Support getting model from the name defined in the model-index file. (#1236) 2022-12-06 17:00:22 +08:00
test_datasets [CI] Update circle-ci and github workflow. (#1018) 2022-09-13 11:46:15 +08:00
test_engine/test_hooks [Enhance] Support evaluate on both EMA and non-EMA models. (#1204) 2022-12-05 14:16:12 +08:00
test_evaluation/test_metrics [Feature] Migrate CSRA head to 1.x. (#1177) 2022-11-21 10:39:16 +08:00
test_models [Refactor] Refactor BEiT backbone and support v1/v2 inference. (#1144) 2022-11-29 12:56:33 +08:00
test_structures [Improve] Speed up data preprocessor. (#1064) 2022-10-17 17:08:18 +08:00
test_utils [Refactor] Refactor dev scripts 2022-07-18 11:11:13 +08:00
test_visualizations [Improve] Rename `mmcls.data` to `mmcls.structures`. (#941) 2022-07-29 14:18:13 +08:00