Skip to content
Snippets Groups Projects
  1. Mar 29, 2023
  2. Mar 26, 2023
  3. Mar 16, 2023
  4. Mar 13, 2023
  5. Mar 12, 2023
    • Qian Zhao's avatar
      [Feature] Support torch.compile since PyTorch2.0 (#976) · 0d25625b
      Qian Zhao authored
      * enable compile configurations to support torch.compile in Runner
      
      * enable compilation in train, val and test
      
      * fix as comments
      
      * add docstring to illustrate usage
      
      * minor refine error message
      
      * add unittests
      
      * fix ut skip
      
      * add logging message to inform users
      
      * compile `train_step`, `val_step`, `test_step` instead
      
      * fix as comments
      
      * revert to compile `train_step` only due to pt2 issue
      
      * add documentation about torch.compile
      0d25625b
  6. Mar 09, 2023
  7. Mar 08, 2023
  8. Mar 07, 2023
  9. Mar 06, 2023
  10. Mar 05, 2023
  11. Mar 01, 2023
  12. Feb 27, 2023
  13. Feb 24, 2023
    • Mashiro's avatar
      Bump version to v0.6.0 (#954) · 6a56ca78
      Mashiro authored
      * update version
      
      * Update change log
      
      * Fix as comment
      
      * Add link to username
      
      * Refine
      
      * Adjust highlight sequence
      
      * Fix as comment
      
      * Fix error format in changelog
      
      * delete chinese changelog
      
      * remove link
      
      * Adjust highlight sequence
      v0.6.0
      6a56ca78
  14. Feb 23, 2023
  15. Feb 21, 2023
  16. Feb 20, 2023
  17. Feb 14, 2023
  18. Feb 13, 2023
  19. Feb 08, 2023
    • Qian Zhao's avatar
      [Docs] Resolve warnings in sphinx build (#915) · c712070c
      Qian Zhao authored
      * add ZeroOptimizer to optim
      
      * resolve `duplicate label` warnings
      
      * upgrade docutils && shpinx to resolve `unknown directive or role` warnings
      
      * fix typo
      
      * resolve literal_block && heading warnings
      
      * resolve json literal_block warnings
      
      * resolve python literal_block warnings
      
      * resolve bunches of reference warnings
      
      * resolve bunches of docstring warnings
      
      * resolve warnings in autosummary
      
      * resolve remaining warnings in en docs
      
      * resolve heading warnings in zh_cn docs
      
      * resolve remaining warnings in zh_cn docs
      
      * fix as comments
      
      * fix as comments
      c712070c
  20. Feb 07, 2023
  21. Feb 06, 2023
    • xcnick's avatar
      [Feature] Add ApexOptimWrapper (#742) · e35ed5fd
      xcnick authored
      
      * add ApexOptimWrapper
      
      * typo fix
      
      * add apex amp.initialize in optim_context
      
      * assert apex_amp
      
      * polish code
      
      * add parameters of apex_amp.initialize
      
      * add docs
      
      * polish code
      
      * polish code
      
      * polish code
      
      * fix calling of apex amp load_state_dict
      
      * polish
      
      * add comments
      
      * Update apex_optimizer_wrapper.py
      
      * Update apex_optimizer_wrapper.py
      
      ---------
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      e35ed5fd
  22. Feb 05, 2023
  23. Feb 03, 2023
  24. Feb 01, 2023
    • jbwang1997's avatar
      [Enhance] Substitute the environment variable in config file (#744) · c46f891a
      jbwang1997 authored
      * Add read environment variable function in config
      
      * Add UT
      
      * enable int case, split predefined and environment
      
      * Update py config
      
      * Add new attributes env_variables in config
      
      * Add examples in docstring
      
      * Fix comments
      
      * Add tutorials
      
      * Add en tutorials
      
      * Refactor config docs according to comments
      
      * Fix comments
      
      * Change function name
      c46f891a
  25. Jan 20, 2023
  26. Jan 16, 2023
    • Mashiro's avatar
      [Docs] Add Chinese documentation for inferencer (#884) · 50465a20
      Mashiro authored
      
      * [Feature] Add BaseInferencer (#773)
      
      * Update BaseInferencer
      
      * Fix ci
      
      * Fix CI and rename iferencer to infer
      
      * Fix CI
      
      * Add renamed file
      
      * Add test file
      
      * Adjust interface sequence
      
      * refine preprocess
      
      * Update unit test
      
      Update unit test
      
      * Update unit test
      
      * Fix unit test
      
      * Fix as comment
      
      * Minor refine
      
      * Fix docstring and support load image from different backend
      
      * Support load collate_fn from downstream repos, refine dispatch
      
      * Minor refine
      
      * Fix lint
      
      * refine grammar
      
      * Remove FileClient
      
      * Refine docstring
      
      * add rich
      
      * Add list_models
      
      * Add list_models
      
      * Remove backend args
      
      * Minor refine
      
      * Fix typos in docs and type hints (#787)
      
      * [Fix] Add _inputs_to_list (#795)
      
      * Add preprocess inputs
      
      * Add type hint
      
      * update api/infer in index.rst
      
      * rename preprocess_inputs to _inputs_to_list
      
      * Fix doc format
      
      * Update infer.py
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * [Fix] Fix alias type (#801)
      
      * [Enhance] Support loading model config from checkpoint (#864)
      
      * first commit
      
      * [Enhance] Support build model from weight
      
      * minor refine
      
      * Fix type hint
      
      * refine comments
      
      * Update docstring
      
      * refine as comment
      
      * Add  method
      
      * Refine docstring
      
      * Fix as comment
      
      * refine comments
      
      * Refine warning message
      
      * Fix unit test and refine comments
      
      * add infer.md
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * Fix conflicts and minor refine
      
      * minor refine
      
      * Fix as comment
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarTong Gao <gaotongxiao@gmail.com>
      50465a20
    • Mashiro's avatar
      [Feature] Add BaseInferencer (#874) · 2d8f2be3
      Mashiro authored
      
      * [Feature] Add BaseInferencer (#773)
      
      * Update BaseInferencer
      
      * Fix ci
      
      * Fix CI and rename iferencer to infer
      
      * Fix CI
      
      * Add renamed file
      
      * Add test file
      
      * Adjust interface sequence
      
      * refine preprocess
      
      * Update unit test
      
      Update unit test
      
      * Update unit test
      
      * Fix unit test
      
      * Fix as comment
      
      * Minor refine
      
      * Fix docstring and support load image from different backend
      
      * Support load collate_fn from downstream repos, refine dispatch
      
      * Minor refine
      
      * Fix lint
      
      * refine grammar
      
      * Remove FileClient
      
      * Refine docstring
      
      * add rich
      
      * Add list_models
      
      * Add list_models
      
      * Remove backend args
      
      * Minor refine
      
      * Fix typos in docs and type hints (#787)
      
      * [Fix] Add _inputs_to_list (#795)
      
      * Add preprocess inputs
      
      * Add type hint
      
      * update api/infer in index.rst
      
      * rename preprocess_inputs to _inputs_to_list
      
      * Fix doc format
      
      * Update infer.py
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * [Fix] Fix alias type (#801)
      
      * [Enhance] Support loading model config from checkpoint (#864)
      
      * first commit
      
      * [Enhance] Support build model from weight
      
      * minor refine
      
      * Fix type hint
      
      * refine comments
      
      * Update docstring
      
      * refine as comment
      
      * Add  method
      
      * Refine docstring
      
      * Fix as comment
      
      * refine comments
      
      * Refine warning message
      
      * Fix unit test and refine comments
      
      * replace MODULE2PACKAGE to MODULE2PAKCAGE
      
      * Fix typo and syntax error in docstring
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarTong Gao <gaotongxiao@gmail.com>
      2d8f2be3
    • LEFTeyes's avatar
      [Feature] Support ReduceOnPlateauParamScheduler(#819) · 0b59a90a
      LEFTeyes authored
      
      * [Feature] Add ReduceOnPlateauParamScheduler and change ParamSchedulerHook
      
      * [Feature] add ReduceOnPlateauLR and ReduceOnPlateauMomentum
      
      * pre-commit check
      
      * add a little docs
      
      * change position
      
      * fix the conflict between isort and yapf
      
      * fix ParamSchedulerHook after_val_epoch execute without train_loop and param_schedulers built
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarMashiro <57566630+HAOCHENYE@users.noreply.github.com>
      
      * update ReduceOnPlateauParamScheduler, ReduceOnPlateauMomentum and ParamSchedulerHook
      
      * fix get need_step_args attribute error in ParamSchedulerHook
      
      * fix load_state_dict error for rule in ReduceOnPlateauParamScheduler
      
      * add docs for ParamSchedulerHook and fix a few codes
      
      * [Docs] add ReduceOnPlateauParamScheduler, ReduceOnPlateauMomentum and ReduceOnPlateauLR docs
      
      * [Refactor] adjust the order of import
      
      * [Fix] add init check for threshold in ReduceOnPlateauParamScheduler
      
      * [Test] add test for ReduceOnPlateauParamScheduler, ReduceOnPlateauLR and ReduceOnPlateauMomentum
      
      * [Fix] fix no attribute self.min_value
      
      * [Fix] fix numerical problem in tests
      
      * [Fix] fix error in tests
      
      * [Fix] fix ignore first param in tests
      
      * [Fix] fix bug in tests
      
      * [Fix] fix bug in tests
      
      * [Fix] fix bug in tests
      
      * [Fix] increase coverage
      
      * [Fix] fix count self._global_step bug and docs
      
      * [Fix] fix tests
      
      * [Fix] modified ParamSchedulerHook test
      
      * Update mmengine/optim/scheduler/param_scheduler.py
      
      Co-authored-by: default avatarMashiro <57566630+HAOCHENYE@users.noreply.github.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarMashiro <57566630+HAOCHENYE@users.noreply.github.com>
      
      * [Fix] modified something according to commented
      
      * [Docs] add api for en and zh_cn
      
      * [Fix] fix bug in test_param_scheduler_hook.py
      
      * [Test] support more complicated test modes(less, greater, rel, abs) for ReduceOnPlateauParamScheduler
      
      * [Docs] add docs for rule
      
      * [Fix] fix pop from empty list bug in test
      
      * [Fix] fix check param_schedulers is not built bug
      
      * [Fix] fix step_args bug and without runner._train_loop bug
      
      * [Fix] fix step_args bug and without runner._train_loop bug
      
      * [Fix] fix scheduler type bug
      
      * [Test] rename step_args to step_kwargs
      
      * [Fix] remove redundancy check
      
      * [Test] remove redundancy check
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * [Test] fix some defects
      
      Co-authored-by: default avatarMashiro <57566630+HAOCHENYE@users.noreply.github.com>
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      0b59a90a
Loading