Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 13, 2022
  3. Mar 12, 2022
  4. Mar 10, 2022
  5. Mar 09, 2022
  6. Mar 08, 2022
  7. Mar 07, 2022
  8. 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
  9. 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
  10. 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
    • 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>
  11. Mar 02, 2022
  12. Mar 01, 2022
  13. Feb 27, 2022
  14. Feb 26, 2022
  15. Feb 25, 2022
  16. Feb 22, 2022
Loading