Skip to content
Snippets Groups Projects
  1. 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
  2. Apr 22, 2022
  3. Apr 20, 2022
  4. 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
  5. Apr 01, 2022
  6. Mar 31, 2022
  7. Mar 26, 2022
    • Mashiro's avatar
      [Enhancement] Refine GlobalAccessble (#144) · 10485841
      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
      
      * fix manager's runtime error description
      
      fix manager's runtime error description
      
      * Add comments
      
      * Add comments
      10485841
  8. Mar 25, 2022
  9. 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
      248ad9ae
  10. Mar 10, 2022
  11. Mar 09, 2022
  12. Mar 08, 2022
  13. Mar 07, 2022
    • liukuikun's avatar
      Visualizer (#67) · 7acaca14
      liukuikun authored
      * [WIP] Visualizer
      
      * add draw featmap
      
      * update docstring
      
      * update docstring
      
      * update docstring
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      7acaca14
  14. Mar 06, 2022
  15. Mar 05, 2022
    • Zaida Zhou's avatar
      [Feature] Add distributed module (#59) · c6a8d72c
      Zaida Zhou authored
      * [Feature] Add distributed module
      
      * fix IS_DIST error
      
      * all_reduce_dict does operations in-place
      
      * support 'mean' operation
      
      * provide local group process
      
      * add tmpdir argument for collect_results
      
      * add unit tests
      
      * refactor unit tests
      
      * simplify steps to create multiple processes
      
      * minor fix
      
      * describe the different of *gather* in mmengine and pytorch
      
      * minor fix
      
      * add unit tests for nccl
      
      * test nccl backend in multiple gpu
      
      * add get_default_group function to handle different torch versions
      
      * minor fix
      
      * [Feature] Add distributed module
      
      * fix IS_DIST error
      
      * all_reduce_dict does operations in-place
      
      * support 'mean' operation
      
      * provide local group process
      
      * add tmpdir argument for collect_results
      
      * add unit tests
      
      * refactor unit tests
      
      * simplify steps to create multiple processes
      
      * minor fix
      
      * describe the different of *gather* in mmengine and pytorch
      
      * minor fix
      
      * add unit tests for nccl
      
      * test nccl backend in multiple gpu
      
      * add get_default_group function to handle different torch versions
      
      * minor fix
      
      * minor fix
      
      * handle torch1.5
      
      * handle torch1.5
      
      * minor fix
      
      * fix typo
      
      * refactor unit tests
      
      * nccl does not support gather and gather_object
      
      * fix gather
      
      * fix collect_results_cpu
      
      * fix collect_results and refactor unit tests
      
      * fix collect_results unit tests
      
      * handle torch.cat in torch1.5
      
      * refine docstring
      
      * refine docstring
      
      * fix comments
      
      * fix comments
      c6a8d72c
    • Wenwei Zhang's avatar
      Add user docs for get_config/get_models (#83) · 817eb89a
      Wenwei Zhang authored
      * add user docs for get_config/get_models
      
      * resolve comments
      817eb89a
  16. Mar 04, 2022
  17. Mar 01, 2022
    • RangiLyu's avatar
      [Doc] Add runner tutorial. (#55) · ee95ce24
      RangiLyu authored
      * [Doc] Add runner tutorial.
      
      * update
      
      * add advanced doc
      
      * refine and add flow chart
      
      * update
      
      * update
      ee95ce24
    • Yuan Liu's avatar
      [Feature]: Add sampler seed hook (#64) · 2d3e9124
      Yuan Liu authored
      * [Feature]: Add sampler seed hook
      
      * [Fix]: Add call with to UT
      2d3e9124
    • Yining Li's avatar
      [Feature] Add evaluator unittest (#46) · 42448425
      Yining Li authored
      * add evaluator unittest
      
      * update composed evaluator cfg
      
      * add building function
      
      * resolve comments
      
      * resolve comments
      
      * resolve comments
      
      * fix evaluator doc
      42448425
    • Zaida Zhou's avatar
      [Docs] Add hooks tutorial (#38) · 73131734
      Zaida Zhou authored
      * [Docs] Add hooks tutorial
      
      * improve the description about hooks
      
      * Add OptimizerHook usages
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix typo
      
      * refine description
      
      * refactor
      
      * refactor
      
      * add a sentence to improve docs
      
      * briefly introduce the hook of pytorch
      
      * refactor the order of sections
      
      * improve the description about hooks
      
      * improve
      
      * fix comments
      
      * update priorities
      
      * improve description
      
      * refactor title
      
      * fix typo
      
      * reorder priority of hook
      
      * fix typo
      
      * fix comments
      
      * remove the distributed argument from SyncBuffersHook
      73131734
    • Mashiro's avatar
      [Docs] Add logging doc (#39) · 84b8106a
      Mashiro authored
      * first commit
      
      * add logging doc
      
      * add logging doc
      
      * Fix lint
      
      * Fix typo
      
      * add logging
      
      * update docs
      
      * update logging.md
      
      * update logging.md
      
      * scale img
      
      * update logging docs
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      Fix as comment
      
      * add introduction to current=True
      
      * Fix as comment
      
      Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      84b8106a
  18. Feb 26, 2022
  19. Feb 25, 2022
  20. Feb 24, 2022
  21. Feb 22, 2022
  22. Feb 21, 2022
  23. Feb 19, 2022
  24. Feb 17, 2022
    • Haian Huang(深度眸)'s avatar
      [Docs] add visualizer docs (#16) · e908959c
      Haian Huang(深度眸) authored
      * add visualizer
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix lint
      
      * fix commit
      
      * fix commit
      
      * fix commit
      
      * fix commit
      
      * refine
      
      * refine
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      e908959c
  25. Feb 16, 2022
Loading