Skip to content
Snippets Groups Projects
  1. Apr 05, 2022
  2. Apr 01, 2022
  3. Mar 31, 2022
  4. 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
      f1de071c
  5. Mar 29, 2022
  6. 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
      563b4bad
  7. 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
      10485841
  8. Mar 25, 2022
  9. 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
      248ad9ae
  10. Mar 13, 2022
  11. Mar 12, 2022
  12. Mar 10, 2022
  13. Mar 09, 2022
  14. Mar 08, 2022
  15. Mar 07, 2022
    • Haian Huang(深度眸)'s avatar
      Add writer (#74) · 824be950
      Haian Huang(深度眸) authored
      * add writer
      
      * update
      
      * update
      
      * update docstr
      
      * update unittest
      
      * update unittest
      
      * fix comment
      
      * update unittest
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * update
      824be950
    • liukuikun's avatar
      Visualizer (#67) · 7acaca14
      liukuikun authored
      * [WIP] Visualizer
      
      * add draw featmap
      
      * update docstring
      
      * update docstring
      
      * update docstring
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      7acaca14
    • Yuan Liu's avatar
      [Fix]: Change the type of runner in docstring to Runner (#103) · be997178
      Yuan Liu authored
      
      * [Fix]: Change after inter and epoch to after train iter and epoch
      
      * [Fix]: Add new UT to param scheduler hook
      
      * [Fix]: Change the type of runner in docstring to Runner
      
      Co-authored-by: default avatarYour <you@example.com>
      be997178
  16. Mar 06, 2022
    • liukuikun's avatar
      [Fix] data element (#95) · 3adf4ea6
      liukuikun authored
      3adf4ea6
    • 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
      2d782b49
  17. 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
      c6a8d72c
    • liukuikun's avatar
      11b38b12
  18. 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
      64b1d183
    • Yifei Yang's avatar
      [Feature] Add Sync Buffer Hook (#57) · 149248ce
      Yifei Yang authored
      
      * [Feature]: Add Part3 of Hooks
      
      * [Feature]: Add Hook
      
      * [Fix]: Add docstring and type hint for base hook
      
      * add sync buffer hook
      
      * update typing hint and docs
      
      * fix lint
      
      * fix mypy
      
      * fix lint
      
      * use mock from unittest
      
      Co-authored-by: default avatarseuyou <3463423099@qq.com>
      149248ce
  19. Mar 02, 2022
Loading