1. 27 Apr, 2021 1 commit
  2. 20 Apr, 2021 1 commit
  3. 10 Apr, 2021 2 commits
  4. 09 Apr, 2021 1 commit
  5. 08 Apr, 2021 1 commit
  6. 02 Apr, 2021 1 commit
  7. 26 Mar, 2021 1 commit
  8. 17 Mar, 2021 1 commit
  9. 03 Mar, 2021 1 commit
    • Ycr's avatar
      [Feature] Support revise_keys in load_checkpoint(). (#829) · e076c8b0
      Ycr authored
      * Simplified the code.
      
      * Improved chkpt compatibility.
      
      * One may modify the checkpoint via adding keywords.
      
      * Tiny.
      
      * Following reviewer's suggestion.
      
      * Added unit_test.
      
      * Fixed.
      
      * Modify the state_dict  with  construction.
      
      * Added test.
      
      * Modified。
      
      * Mimimalised the modification.
      
      * Added the docstring.
      
      * Format.
      
      * Improved.
      
      * Tiny.
      
      * Temp file.
      
      * Added assertion.
      
      * Doc string.
      
      * Fixed.
      e076c8b0
  10. 20 Feb, 2021 1 commit
  11. 07 Feb, 2021 1 commit
    • Miao Zheng's avatar
      add initializers and BaseModule for unified parameter initialization (#780) · a4c37026
      Miao Zheng authored
      * add initializers and BaseModule for unified parameter initialization
      
      * fix circle import
      
      * bug fix
      
      * add is_init flag in BaseModule
      
      * fix docstring
      
      * sort import and fix doc format
      
      * fix bug
      
      * fix docformat and double quote string
      
      * fix import sort
      
      * import sort
      
      * sort import
      
      * revise according to comments
      
      * fix doc format
      
      * revise according to comments
      
      * revise import and fix typo
      
      * polish code
      
      * revise minors
      
      * revice minors
      
      * revise apply function
      
      * revise bias initialization with probability
      
      * add type test for bias_prob
      
      * revise minors
      a4c37026
  12. 28 Jan, 2021 1 commit
    • Haian Huang(深度眸)'s avatar
      Refactor _load_checkpoint fn (#790) · 96892bdc
      Haian Huang(深度眸) authored
      * Refactor _load_checkpoint fn
      
      * Update _load_checkpoint fn
      
      * Update docs str and add unit test
      
      * Fix unit test
      
      * Fix lint
      
      * Add comment and Optimize function
      
      * Fix docs str
      
      * Update load_ckpt and fix doc str
      
      * Update doc str and add sort unit test
      
      * Update and fix unit test
      
      * Fix unit test
      
      * Update and add unit test
      
      * Fix openmmlab prefix error
      96892bdc
  13. 14 Jan, 2021 1 commit
  14. 08 Jan, 2021 1 commit
  15. 22 Dec, 2020 1 commit
  16. 23 Nov, 2020 1 commit
  17. 06 Nov, 2020 1 commit
  18. 05 Nov, 2020 1 commit
    • Kuro Latency's avatar
      Update lr_updater.py (#574) · bcf85026
      Kuro Latency authored
      * Update lr_updater.py
      
      since epoch/iteration in  runner starts with 0, we shouldn't leave the latter iteration to former (12th epoch for example, with first period equal to 12) period.
      
      * Update lr_updater.py
      
      * Update test_hooks.py
      bcf85026
  19. 28 Oct, 2020 1 commit
    • David de la Iglesia Castro's avatar
      Refactor logger hooks (#605) · 2e6c8ec8
      David de la Iglesia Castro authored
      * Refactor tags for consistency
      
      * Fix missing runner
      
      * Fix missing runner
      
      * Fix missing runner
      
      * Fix missing runner
      
      * Fix momentum runner hook inner iter
      
      * Fix tests
      
      * pre-commit run
      2e6c8ec8
  20. 25 Sep, 2020 2 commits
    • Wenwei Zhang's avatar
      Support to specify LR of DCN's conv_offset (#344) · ed2887bb
      Wenwei Zhang authored
      * Support to specify LR of DCN's conv_offset
      
      * Resolve comments & add unit test
      
      * Resolve formats
      
      * Fix CI for DCN
      
      * Mock DCN when cpu only
      
      * Use mock for cpu testing
      
      * Fix docstring and support ModulatedDCN
      
      * set offset_lr_mult as dcn's arguments, link CU-49u01p
      
      * fix lr bug
      
      * fall back to set LR in constructor
      
      * resolve comments
      ed2887bb
    • David de la Iglesia Castro's avatar
      Add runner builder (#570) · 6b52e9b5
      David de la Iglesia Castro authored
      * Add build_runner
      
      * Parametrize test_runner
      
      * Add imports to runner __init__
      
      * Refactor max_iters and max_epochs from run to init
      
      * Add assertion error messages
      
      * Add test_builder
      
      * Make change retro-compatible
      
      * Raise ValueError if max_epochs and max_iters
      6b52e9b5
  21. 25 Aug, 2020 1 commit
  22. 15 Aug, 2020 1 commit
    • Wang Xinjiang's avatar
      fix some pavi logger hooks (#481) · eacaf475
      Wang Xinjiang authored
      * fix some pavi logger hooks
      
      * fix unittest
      
      * fix small bugs
      
      * small change
      
      * fix unittest
      
      * Add EpochBasedRunner conditions
      
      * Add session text
      
      * fix small bug
      
      * fetch runner mode from log buffer
      
      * Add max_iter to pavi session text
      
      * change yaml.dump to yamp.dump(yaml.load(mmcv.dump))
      
      * Directly use by_epoch
      
      * fix unittest
      
      * add comments
      
      * Use runner.epoch + 1 in pavi log
      
      * fix runner.epoch issue for runner.mode=='val'
      
      * fix runner.epoch issue for runner.mode=='val'
      
      * Use abspath instead of realpath
      
      * Add meta dump unittest
      
      * small change
      
      * Add comments
      eacaf475
  23. 30 Jul, 2020 1 commit
    • shilong's avatar
      Ema (#421) · 1830347f
      shilong authored
      * add ema hook
      
      * add ema hook resume
      
      * add ema hook test
      
      * fix typo
      
      * fix according to comment
      
      * delete logger
      
      * fix according to comment
      
      * fix unitest
      
      * fix typo
      
      * fix according to comment
      
      * change to resume_from
      
      * typo
      
      * fix isort
      1830347f
  24. 25 Jul, 2020 1 commit
    • Wang Xinjiang's avatar
      Syncbuf (#447) · d4da3daa
      Wang Xinjiang authored
      * More robust sync buffer hook
      
      * More robust sync buffer hook
      
      * Reformat
      d4da3daa
  25. 24 Jul, 2020 1 commit
  26. 20 Jul, 2020 1 commit
  27. 17 Jul, 2020 1 commit
  28. 08 Jul, 2020 1 commit
    • Harry's avatar
      Remove all module wrapper's module when saving checkpoint (#399) · 5704613e
      Harry authored
      * fix: remove all module wrapper when saving checkpoint
      
      * refactor: move position of if
      
      * docs: add docstring
      
      * refactor: add _save_to_state_dict from official torch
      
      * docs: modify docstring of _save_to_state_dict
      
      * docs: modify docstring
      
      * feat: add unittest
      
      * feat: add DataParallel to unittest
      
      * fix: a bug when model has batchnorm
      
      * docs: update docstring
      5704613e
  29. 03 Jul, 2020 1 commit
  30. 01 Jul, 2020 1 commit
  31. 19 Jun, 2020 1 commit
  32. 18 Jun, 2020 1 commit
  33. 15 Jun, 2020 1 commit
    • Harry's avatar
      Add CosineRestartLrUpdaterHook (#319) · f28a7c7e
      Harry authored
      * feat: add CosineRestartLrUpdaterHook
      
      * style: rename period to periods
      
      * fix: bug in period 0
      
      * feat: rename eta_min to min_lr and add min_lr_ratio
      
      * docs: fix docstring of restart lr updater
      
      * refactor: use annealing_cos
      
      * docs: add docstring to annealing_cos
      
      * feat: cosine restart lr update hook
      
      * refactor: modify code order for unittest
      f28a7c7e
  34. 11 Jun, 2020 1 commit
    • Harry's avatar
      Add IterBasedRunner (#314) · 67a26da9
      Harry authored
      
      
      * feat: add IterBasedRunner
      
      * fix: unittest
      
      * feat: more unittest
      
      * fix: expose dataloader len
      
      * minor updates of BaseRunner
      
      * refactor: remove CosineRestartLrUpdaterHook
      
      * style: add docstring
      
      * refactor: update IterTextLoggerHook: fstring and exp_name
      
      * fix: epoch_runner unittest
      
      * refactor: remove IterBasedTextLogger
      
      * fix: old IterTextLoggerHook issue
      
      * refactor: remove __len__ of IterLoader
      
      * feat: add IterBasedRunner to init
      
      * feat: add __len__ to IterLoader
      
      * fix some docstrings
      
      * refactor: use is_parallel_module
      
      * fix: import issue
      
      * fix: runner unittest missing logger
      
      * fix checkpoints
      
      * feat: add by_epoch default value to IterBaseRunner regitering loggger_hook
      
      * refactor: remove setting by_epoch in log_config
      
      * minor refactoring
      
      * docs: add docstring
      
      * fix: remove unused doc
      
      * update the log info for saving checkpoints
      Co-authored-by: default avatarKai Chen <chenkaidev@gmail.com>
      67a26da9
  35. 08 Jun, 2020 1 commit
  36. 02 Jun, 2020 1 commit
  37. 03 May, 2020 1 commit
  38. 26 Apr, 2020 1 commit