mmengine/tests
Yifei Yang 94ab45d07e
[Feature] Add empty cache hook (#58)
* [Feature]: Add Part3 of Hooks

* [Feature]: Add Hook

* [Fix]: Add docstring and type hint for base hook

* [Fix]: Add test case to not the last iter, inner_iter, epoch

* [Fix]: Add missing type hint

* [Feature]: Add Args and Returns in docstring

* [Fix]: Add missing colon

* [Fix]: Add optional to docstring

* [Fix]: Fix docstring problem

* [Fix]: Fix lint

* fix lint

* update typing and docs

* fix lint

* Update mmengine/hooks/empty_cache_hook.py

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

* Update mmengine/hooks/empty_cache_hook.py

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

* Update mmengine/hooks/empty_cache_hook.py

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

* Update tests/test_hook/test_empty_cache_hook.py

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

* fix lint

* fix comments

* remove test condition

Co-authored-by: seuyou <3463423099@qq.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-03-02 14:04:41 +08:00
..
data [Feature] add base dataset (#32) 2022-02-22 14:01:06 +08:00
test_config Fix test_auto_argparse when pytest has multiple arguments (#34) 2022-02-19 12:22:15 +08:00
test_data [Feat]: Add abstract data structure (#29) 2022-02-22 21:45:32 +08:00
test_evaluator [Feature] Add evaluator unittest (#46) 2022-03-01 12:00:19 +08:00
test_hook [Feature] Add empty cache hook (#58) 2022-03-02 14:04:41 +08:00
test_model/test_wrappers fix mmdp unittest (#60) 2022-02-27 20:34:52 +08:00
test_optim Fix pt1.5 unit tests. (#65) 2022-03-01 11:28:21 +08:00
test_registry [Feature] Add Registry (#11) 2022-02-16 21:45:39 +08:00
test_visualizer [Unittest] Add visualizer unittest (#27) 2022-02-21 20:55:11 +08:00