Skip to content
Snippets Groups Projects
  1. Jun 07, 2022
  2. Jun 06, 2022
  3. Jun 05, 2022
  4. 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>
  5. May 31, 2022
    • Zaida Zhou's avatar
      [Feature] Support multiple optimizers (#235) · f1da9a1d
      Zaida Zhou 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
      
      * refine docstring
      
      * RuntimeInfoHook supports printing multi learning rates
      
      * resolve comments
      
      * fix typo
    • Jiazhen Wang's avatar
      [Enhance] Improve Exception in call_hook (#247) · f2190de7
      Jiazhen Wang authored
      * improve exception in call_hook
      
      * refine unit test
      
      * add test_call_hook
      
      * refine
      
      * update docstring and ut
  6. May 27, 2022
  7. May 26, 2022
  8. May 25, 2022
  9. May 24, 2022
  10. May 20, 2022
  11. May 18, 2022
  12. May 17, 2022
  13. May 10, 2022
  14. Apr 27, 2022
  15. Apr 26, 2022
  16. Apr 25, 2022
    • Mashiro's avatar
      [Fix] resolve conflict betweem adapt and main. (#198) · e0d00c5b
      Mashiro authored
      
      * [Docs] Refine registry documentation (#186)
      
      * [Docs] Refine registry documentation
      
      * reslove comments
      
      * minor refinement
      
      * Refine Visualizer docs (#177)
      
      * Refine Visualizer docs
      
      * update
      
      * update
      
      * update featmap
      
      * update docs
      
      * update visualizer docs
      
      * [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
      
      * [Enhancement] Add PolyParamScheduler, PolyMomentum and PolyLR (#188)
      
      * [Enhancement] Add PolyParamScheduler, PolyMomentum and PolyLR
      
      * min_lr -> eta_min, refined docstr
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarHaian Huang(深度眸) <1286304229@qq.com>
      Co-authored-by: default avatarTong Gao <gaotongxiao@gmail.com>
  17. 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
  18. Apr 21, 2022
  19. Apr 15, 2022
  20. Apr 12, 2022
  21. Apr 08, 2022
  22. Apr 05, 2022
  23. Apr 01, 2022
  24. 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
  25. Mar 29, 2022
  26. 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
  27. 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