mmengine/tests/test_hook
Mashiro e2a2b0438e
[Refactor] Refine LoggerHook (#155)
* rename global accessible and intergration get_sintance and create_instance

* move ManagerMixin to utils

* fix as docstring and seporate get_instance to get_instance and get_current_instance

* fix lint

* fix docstring, rename and move test_global_meta

* rename LogBuffer to HistoryBuffer, rename MessageHub methods, MessageHub support resume

* refine MMLogger timestamp, update unit test

* MMLogger add logger_name arguments

* Fix docstring

* Add LogProcessor and some unit test

* update unit test

* complete LogProcessor unit test

* refine LoggerHook

* solve circle import

* change default logger_name to mmengine

* refactor eta

* Fix docstring comment and unitt test

* Fix with runner

* fix docstring

fix docstring

* fix docstring

* Add by_epoch attribute to LoggerHook and fix docstring

* Please mypy and fix comment

* remove \ in MMLogger

* Fix lint

* roll back pre-commit-hook

* Fix hook unit test

* Fix comments

* remove \t in log and add docstring

* Fix as comment

* should not accept other arguments if corresponding instance has been created

* fix logging ddp file saving

* fix logging ddp file saving

* move log processor to logging

* move log processor to logging

* remove current datalaoder

* fix docstring

* fix unit test

* add learing rate in messagehub

* Support output training/validation/testing message after iterations/epochs

* fix docstring

* Fix IterBasedRunner log string

* Fix IterBasedRunner log string

* Support parse validation loss in log processor
2022-04-24 19:23:28 +08:00
..
test_checkpoint_hook.py [Refactor] Add batch_idx to hook input. (#140) 2022-03-29 11:40:38 +08:00
test_empty_cache_hook.py [Refactor] Add batch_idx to hook input. (#140) 2022-03-29 11:40:38 +08:00
test_hook.py [Refactor] Refine LoggerHook (#155) 2022-04-24 19:23:28 +08:00
test_iter_timer_hook.py [Refactor] Refine LoggerHook (#155) 2022-04-24 19:23:28 +08:00
test_logger_hook.py [Refactor] Refine LoggerHook (#155) 2022-04-24 19:23:28 +08:00
test_naive_visualization_hook.py [Enhancement] refactor base data element (#143) 2022-03-31 18:21:45 +08:00
test_optimizer_hook.py [Refactor] Refine LoggerHook (#155) 2022-04-24 19:23:28 +08:00
test_param_scheduler_hook.py [Refactor] Add batch_idx to hook input. (#140) 2022-03-29 11:40:38 +08:00
test_sampler_seed_hook.py [Refactor] Refactor the interfaces of Hook and its subclassed (#117) 2022-03-13 16:48:09 +08:00
test_sync_buffers_hook.py [Refactor] Add batch_idx to hook input. (#140) 2022-03-29 11:40:38 +08:00