Skip to content
Snippets Groups Projects
  1. Aug 09, 2022
  2. Aug 08, 2022
  3. Jul 19, 2022
  4. Jul 13, 2022
    • Mashiro's avatar
      [Enhance] Add `build_model_from_cfg` (#328) · 6b608b4e
      Mashiro authored
      * clean code
      
      * fix as comment
      
      * fix as comment
      
      * add get_registry_by_scope method
      
      * add unit test and docstring example
      
      * rename get_registry_by_scope to switch_scope_and_registry
      
      * move build function to registry/builder
      
      * fix docstring
      
      * rename builder->registry_builder, move build_from_cfg to registry_builder
      
      rename builder->registry_builder, move build_from_cfg to registry_builder
      
      * rename registry_builder to build_function
      
      rename registry_builder to build_function
      
      * fix docstring and type hint
      
      * rename build_function to build_functions
  5. Jun 23, 2022
  6. Jun 21, 2022
  7. Jun 14, 2022
  8. Jun 10, 2022
  9. Jun 09, 2022
  10. Jun 06, 2022
  11. Jun 01, 2022
    • Mashiro's avatar
      [Feature] Add optimizer wrapper (#265) · 3e3866c1
      Mashiro authored
      
      * Support multiple optimizers
      
      * minor refinement
      
      * improve unit tests
      
      * minor fix
      
      * Update unit tests for resuming or saving ckpt for multiple optimizers
      
      * refine docstring
      
      * refine docstring
      
      * fix typo
      
      * update docstring
      
      * refactor the logic to build multiple optimizers
      
      * resolve comments
      
      * ParamSchedulers spports multiple optimizers
      
      * add optimizer_wrapper
      
      * fix comment and docstirng
      
      * fix unit test
      
      * add unit test
      
      * refine docstring
      
      * RuntimeInfoHook supports printing multi learning rates
      
      * resolve comments
      
      * add optimizer_wrapper
      
      * fix mypy
      
      * fix lint
      
      * fix OptimizerWrapperDict docstring and add unit test
      
      * rename OptimizerWrapper to OptimWrapper, OptimWrapperDict inherit OptimWrapper, and fix as comment
      
      * Fix AmpOptimizerWrapper
      
      * rename build_optmizer_wrapper to build_optim_wrapper
      
      * refine optimizer wrapper
      
      * fix AmpOptimWrapper.step, docstring
      
      * resolve confict
      
      * rename DefaultOptimConstructor
      
      * fix as comment
      
      * rename clig grad auguments
      
      * refactor optim_wrapper config
      
      * fix docstring of DefaultOptimWrapperConstructor
      
      fix docstring of DefaultOptimWrapperConstructor
      
      * add get_lr method to OptimWrapper and OptimWrapperDict
      
      * skip some amp unit test
      
      * fix unit test
      
      * fix get_lr, get_momentum docstring
      
      * refactor get_lr, get_momentum, fix as comment
      
      * fix error message
      
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
  12. May 31, 2022
  13. May 25, 2022
  14. May 24, 2022
  15. May 19, 2022
  16. May 05, 2022
  17. Apr 15, 2022
  18. Apr 01, 2022
  19. Mar 31, 2022
  20. 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
  21. Mar 25, 2022
  22. 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
  23. Mar 13, 2022
  24. 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
    • 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
  25. Feb 26, 2022
  26. Feb 24, 2022
  27. Feb 19, 2022
  28. Feb 16, 2022
Loading