Skip to content
Snippets Groups Projects
  1. Apr 25, 2022
  2. Apr 24, 2022
    • Mashiro's avatar
      [Refactor] Refine LoggerHook (#155) · e2a2b043
      Mashiro authored
      * 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
  3. Apr 22, 2022
  4. Apr 21, 2022
    • Mashiro's avatar
      [Enhancement] Refine logging. (#148) · 82a313d0
      Mashiro authored
      * 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
      
      * change default logger_name to mmengine
      
      * Fix docstring comment and unitt test
      
      * fix docstring
      
      fix docstring
      
      * fix docstring
      
      * Fix lint
      
      * Fix hook unit test
      
      * Fix comments
      
      * should not accept other arguments if corresponding instance has been created
      
      * fix logging ddp file saving
      
      * fix logging ddp file saving
      
      * fix docstring
      
      * fix unit test
      
      * fix docstring as comment
    • Mashiro's avatar
      automaticaly update iter and epoch in message_hub (#168) · 45567b1d
      Mashiro authored
      * automatic update iter and epoch in message_hub
      
      * add docstring
      
      * Update comment and docstring
      
      * Fix as comment
      
      * Fix docstring and comment
      
      * refine comments
  5. Apr 08, 2022
  6. Apr 01, 2022
  7. Mar 31, 2022
  8. Mar 30, 2022
    • Zaida Zhou's avatar
      [Enhancement] Refactor Runner (#139) · f1de071c
      Zaida Zhou authored
      * [Enhancement] Rename build_from_cfg to from_cfg
      
      * refactor build_logger and build_message_hub
      
      * remove time.sleep from unit tests
      
      * minor fix
      
      * move set_randomness from setup_env
      
      * improve docstring
      
      * refine comments
      
      * print a warning information
      
      * refine comments
      
      * simplify the interface of build_logger
  9. Mar 29, 2022
  10. Mar 28, 2022
    • Mashiro's avatar
      [Feature] add defaut scope (#149) · 563b4bad
      Mashiro authored
      * add defaut scope
      
      * Fix docstring
      
      * override get_current_instance method in DefaultScope
      
      clean meta nameing
      
      * remove default mmengine argument of DefaltScope
      
      remove default mmengine argument of DefaltScope
      
      remove default mmengine argument of DefaltScope
      
      * Fix unit test
      
      Fix unit test
      
      * Fix example in docstring
      
      * add explaination of DefaultScope
  11. Mar 26, 2022
    • Mashiro's avatar
      [Enhancement] Refine GlobalAccessble (#144) · 10485841
      Mashiro authored
      * 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
      
      * fix manager's runtime error description
      
      fix manager's runtime error description
      
      * Add comments
      
      * Add comments
  12. Mar 25, 2022
  13. Mar 14, 2022
    • Zaida Zhou's avatar
      [Feature] Add Runner and Loop (#86) · 248ad9ae
      Zaida Zhou authored
      * [Feature] Add Runner and Loop
      
      * refine docstring
      
      * refine docstring
      
      * refine __init__ of Runner
      
      * add Runner.save_checkpoint
      
      * add comment for data_batch
      
      * rename validation_cfg to val_cfg
      
      * update branch
      
      * update branch
      
      * discard wear reference
      
      * set seed for torch in dataloader worker
      
      * refine comments
      
      * reorder methods
      
      * import module in __init__.py
      
      * add runner.load_checkpoint
      
      * rename attributes
      
      * fix indent
      
      * fix indent
      
      * add comment for LOOPS
      
      * add example for methods
      
      * add example for methods
      
      * refine examples
      
      * add Runner.resume and refactor register_hooks
      
      * remove type hint of runner in CheckpointHook
      
      * rename before_run to before_train
      
      * remove collate
      
      * add before_run after_run for loop.run
      
      * dummy collate_fn
      
      * add more unit tests
      
      * move call_hook('before_run') to runner
      
      * minor fix
      
      * add comments for collate_fn
      
      * fix type hint
      
      * refactor logic to load or resume checkpoint
      
      * fix typo
      
      * add comments for IterBasedTrainLoop
      
      * refactor unit tests
      
      * fix unit tests
      
      * refactor
      
      * fix setup_env
      
      * refine
      
      * minor fix
      
      * Merge branch 'main' of github.com:open-mmlab/mmengine into zzd/add-runner
      
      * minor fix
      
      * minor fix
      
      * refine
      
      * refactor unit tests
      
      * fix unit tests
      
      * add launcher property
      
      * add logger, message_hub and writer unit tests
      
      * add cur_dataloader attribute for runner
      
      * fix IterBasedTrainLoop
      
      * add torch.no_grad decorator
      
      * add master_only decorator for save_checkpoint
      
      * add before_test_epoch in TestLoop
      
      * refactor load_or_resume method
      
      * refine docstring
      
      * fix typo
      
      * build_dataloader can handle dataset object
      
      * add dump_config for runner
      
      * collate_fn should not a lambda function
      
      * minor fix
      
      * refine docstring
      
      * fix unit tests
      
      * improve comments
      
      * refine unit tests
      
      * rename collate_fn to pseduo_collate
      
      * add 'TODO' tag
  14. Mar 13, 2022
  15. Mar 12, 2022
  16. Mar 10, 2022
  17. Mar 09, 2022
  18. Mar 08, 2022
  19. Mar 07, 2022
  20. Mar 06, 2022
    • liukuikun's avatar
      [Fix] data element (#95) · 3adf4ea6
      liukuikun authored
    • Mashiro's avatar
      [Feature] add logging UT and impl (#43) · 2d782b49
      Mashiro authored
      * first commit
      
      * update logging
      
      * update MessageHub unit test and LogBuffer unitest
      
      * update logging docs
      
      * update logging impl and test
      
      * update test logging
      
      * update test
      
      * update logging test and impl
      
      * Fix logging test
      
      * Update log_buffer.py
      
      * rename statistics argumentes
      
      * fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix meta class
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix name declare
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix docstring
      
      * Fix as comment
      
      * Fix as comment
  21. Mar 05, 2022
    • Zaida Zhou's avatar
      [Feature] Add distributed module (#59) · c6a8d72c
      Zaida Zhou authored
      * [Feature] Add distributed module
      
      * fix IS_DIST error
      
      * all_reduce_dict does operations in-place
      
      * support 'mean' operation
      
      * provide local group process
      
      * add tmpdir argument for collect_results
      
      * add unit tests
      
      * refactor unit tests
      
      * simplify steps to create multiple processes
      
      * minor fix
      
      * describe the different of *gather* in mmengine and pytorch
      
      * minor fix
      
      * add unit tests for nccl
      
      * test nccl backend in multiple gpu
      
      * add get_default_group function to handle different torch versions
      
      * minor fix
      
      * [Feature] Add distributed module
      
      * fix IS_DIST error
      
      * all_reduce_dict does operations in-place
      
      * support 'mean' operation
      
      * provide local group process
      
      * add tmpdir argument for collect_results
      
      * add unit tests
      
      * refactor unit tests
      
      * simplify steps to create multiple processes
      
      * minor fix
      
      * describe the different of *gather* in mmengine and pytorch
      
      * minor fix
      
      * add unit tests for nccl
      
      * test nccl backend in multiple gpu
      
      * add get_default_group function to handle different torch versions
      
      * minor fix
      
      * minor fix
      
      * handle torch1.5
      
      * handle torch1.5
      
      * minor fix
      
      * fix typo
      
      * refactor unit tests
      
      * nccl does not support gather and gather_object
      
      * fix gather
      
      * fix collect_results_cpu
      
      * fix collect_results and refactor unit tests
      
      * fix collect_results unit tests
      
      * handle torch.cat in torch1.5
      
      * refine docstring
      
      * refine docstring
      
      * fix comments
      
      * fix comments
    • liukuikun's avatar
  22. Mar 03, 2022
    • RangiLyu's avatar
      Add runner unit tests. (#68) · 64b1d183
      RangiLyu authored
      * add runner unit tests
      
      * update
      
      * update
      
      * add test custom loop and hook
      
      * add test model wrapper
      
      * add test setup env
      
      * fix typo
      
      * fix launcher
      
      * fix typo
      
      * test default scope
      
      * add logger test
      
      * fix dataloader
      
      * add test loop
      
      * resolve comments
      
      * resolve comments
Loading