Skip to content
Snippets Groups Projects
  1. 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>
      3e3866c1
  2. 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
      f1da9a1d
  3. May 26, 2022
  4. May 20, 2022
  5. May 19, 2022
    • RangiLyu's avatar
      [Feature] Support EMA and SWA. (#239) · 0279ac2e
      RangiLyu authored
      * [Feature] Support EMA and SWA.
      
      * add ema hook
      
      * add avg model ut
      
      * add more unit tests
      
      * resolve comments
      
      * fix warmup ema
      
      * rename
      
      * fix comments
      
      * add assert
      
      * fix typehint
      
      * add comments
      0279ac2e
  6. May 18, 2022
  7. May 06, 2022
  8. May 05, 2022
  9. 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>
      e0d00c5b
  10. 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
      e2a2b043
  11. 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
      82a313d0
  12. Apr 15, 2022
    • liukuikun's avatar
      refactor visualization (#147) · 5f8f36e6
      liukuikun authored
      
      * [WIP] add inline
      
      * refactor vis module
      
      * [Refactor] according review
      
      * [Fix] fix comment
      
      * fix some error
      
      * Get sub visualizer be Visualizer.get_instance
      
      * fix conflict
      
      * fix lint
      
      * fix unit test
      
      * fix mypy
      
      * fix comment
      
      * fix lint
      
      * update docstr
      
      * update
      
      * update instancedata
      
      * remove replace __mro__ with issubclass
      
      Co-authored-by: default avatarPJLAB\huanghaian <1286304229@qq.com>
      Co-authored-by: default avatarHAOCHENYE <21724054@zju.edu.cn>
      5f8f36e6
  13. Apr 12, 2022
  14. Apr 08, 2022
  15. Mar 31, 2022
  16. Mar 29, 2022
  17. Mar 25, 2022
  18. Mar 13, 2022
    • Mashiro's avatar
      [Refactor] Refactor the interfaces of Hook and its subclassed (#117) · a7961407
      Mashiro authored
      * Fix hook
      
      * Fix
      
      * Fix docs
      
      * FIx
      
      * Fix
      
      * Fix as comment
      
      * update
      
      * Fix hook
      
      * Fix hook
      
      * Fix hook
      
      * Fix itertimerhook
      
      * Fix iter_timer_hook
      
      * Fix
      
      * Fix
      
      * fix logger hook
      
      * Fix loggerhook
      
      * update cur_dataloader
      
      * Fix docstring
      
      * Fix docstring
      
      * Fix as commet
      
      * Fix as commet
      
      * Fix as comment
      
      * rename is_last_epoch, enhance and add after_val before_val .etc
      
      * fix typo in docstring
      
      * remove resolved TODO
      
      * refactor docstring
      a7961407
  19. Mar 12, 2022
  20. Mar 10, 2022
  21. Mar 09, 2022
  22. Mar 08, 2022
    • Mashiro's avatar
      [Feature] Add LoggerHook (#77) · 6f69039c
      Mashiro authored
      * add logger hook
      
      * update
      
      * update
      
      * update test
      
      * update
      
      * update test
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * Add logger hook
      
      * Fix pre-commit
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix bytes
      
      * update
      
      * Fix as comment
      
      * Fix as comment
      
      * Update runner
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      6f69039c
  23. Mar 07, 2022
  24. Mar 03, 2022
    • 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
  25. Mar 02, 2022
  26. Mar 01, 2022
  27. Feb 26, 2022
    • Yuan Liu's avatar
      [Feature]: Add base Hook (#47) · bc759e55
      Yuan Liu authored
      
      * [Feature]: Add Part3 of Hooks
      
      * [Feature]: Add Hook
      
      * [Fix]: Add docstring and type hint for base hook
      
      * [Fix]: Add test case to not the last iter, inner_iter, epoch
      
      * [Fix]: Add missing type hint
      
      * [Feature]: Add Args and Returns in docstring
      
      * [Fix]: Add missing colon
      
      * [Fix]: Add optional to docstring
      
      * [Fix]: Fix docstring problem
      
      * [Fix]:typo
      
      * [Fix]: Fix lint
      
      Co-authored-by: default avatarYour <you@example.com>
      bc759e55
Loading