1. 27 Apr, 2021 1 commit
  2. 10 Apr, 2021 1 commit
    • Miao Zheng's avatar
      [Fix] OneCycleLrUpdaterHook adds total_steps (#929) · 89efc607
      Miao Zheng authored
      * [Fix] OneCycleLrUpdaterHook interface
      
      * revise according to comments
      
      * revise according to comments
      
      * add test
      
      * fix lint
      
      * revise according to comments
      
      * minors
      
      * add pytest param
      
      * fix lint
      
      * ci
      89efc607
  3. 09 Apr, 2021 1 commit
  4. 02 Apr, 2021 1 commit
  5. 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
  6. 23 Nov, 2020 1 commit
  7. 06 Nov, 2020 1 commit
  8. 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
  9. 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
  10. 25 Sep, 2020 1 commit
    • 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
  11. 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
  12. 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
  13. 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
  14. 24 Jul, 2020 1 commit
  15. 17 Jul, 2020 1 commit
  16. 03 Jul, 2020 1 commit
  17. 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
  18. 02 Jun, 2020 1 commit
  19. 26 Apr, 2020 1 commit
  20. 22 Apr, 2020 1 commit
  21. 19 Apr, 2020 1 commit
    • Wenwei Zhang's avatar
      Momentum scheduler (#167) · ba059611
      Wenwei Zhang authored
      * track progress of iter&enum
      
      * restore
      
      * add momentum scheduler
      
      * fix small bug
      
      * cyclic scheduler"
      
      * fix bug
      
      * fix second phase's bug
      
      * reformat
      
      * feature (cosine lr): use relative ratio for more flexible scheduler
      
      * Fix (runner): fix bugs in runner
      
      * Refactor (hook): refactor cosing/cyclic LR/momentum hook with unittest
      
      * Clean unnecessary files and reformat
      
      * Fix memory key error when GPU is not avaliable
      
      * Resolve comments
      
      * Do not print momentum in text log
      
      * Change hook register order
      
      * Refactor max_iter
      
      * Fix max_iter bugs in runner
      
      * Enforce target_ratio to be either tuple or float
      ba059611
  22. 14 Apr, 2020 1 commit
    • David de la Iglesia Castro's avatar
      Add MlflowLoggerHook (#221) · d5f190d1
      David de la Iglesia Castro authored
      * Add MLflowLoggerHook
      
      * Add MLflowLoggerHook to __all__
      
      * Update name
      
      * Fix tracking.MlflowClient setup
      
      * Fix log_metric
      
      * Fix mlflow_pytorch import
      
      * Handle active_run
      
      * Fix self.mlflow reference
      
      * Simplify using high level API
      
      * Fix set_experiment
      
      * Add only_if_torch_available decorator and test_mlflow_hook
      
      * Add missing import in hooks
      
      * Fix torch available check
      
      * Patch mlflow.pytorch in test
      
      * Parametrize log_model
      
      * Fix log_model parametrize
      
      * Add docstring
      
      * Move wand patch
      
      * Fix flake8
      
      * Add regression test for non numeric metric
      
      * Only log numbers
      
      * Rename experiment_name-> exp_name
      
      * Remove pytest skip
      d5f190d1
  23. 16 Mar, 2020 1 commit
  24. 02 Mar, 2020 1 commit