Skip to content
Snippets Groups Projects
  1. Apr 05, 2022
  2. Apr 01, 2022
    • RangiLyu's avatar
      [Refactor] Refactor Evaluator to Metric. (#152) · 2d803678
      RangiLyu authored
      * [Refactor] Refactor Evaluator to Metric.
      
      * update
      
      * fix lint
      
      * fix doc
      
      * fix lint
      
      * resolve comments
      
      * resolve comments
      
      * remove collect_device from evaluator
      
      * rename
      2d803678
    • Mashiro's avatar
      [Enhancement] Support get sub dataset and rename method and variable. (#145) · 2fdca03f
      Mashiro authored
      * add get_subset method, add comment, rename variable
      
      * add unit test
      
      * Please mypy
      
      * Fix as comment, support negative index, and fix index access error
      
      * add and refine docstring, handle indices=0
      
      * handle indices=0
      
      * add empty list indices test
      
      * rename in_meta in docstring and comments to in_metainfo
      
      * clean meta nameing
      
      * Fix negative indices error
      
      * test empty list of get_subset
      
      * fix comments and docstring
      
      * add unit test
      
      * Fix as comment
      
      * Fix as comment
      
      * add docstring to mention wrapped dataset should not inherit from Basedataset
      
      * Fix wrapped dataset docstring
      
      * Fix wrapped dataset docstring
      
      * Fix method name, docstring, and comments
      
      * Fix comments
      
      * Fix comments
      
      * Fix comments
      2fdca03f
    • RangiLyu's avatar
      25014af3
  3. Mar 31, 2022
  4. Mar 30, 2022
    • Zaida Zhou's avatar
      [Enhancement] Refactor Runner (#139) · f1de071c
      Zaida Zhou authored
      * [Enhancement] Rename build_from_cfg to from_cfg
      
      * refactor build_logger and build_message_hub
      
      * remove time.sleep from unit tests
      
      * minor fix
      
      * move set_randomness from setup_env
      
      * improve docstring
      
      * refine comments
      
      * print a warning information
      
      * refine comments
      
      * simplify the interface of build_logger
      f1de071c
  5. Mar 29, 2022
  6. Mar 28, 2022
    • Mashiro's avatar
      [Feature] add defaut scope (#149) · 563b4bad
      Mashiro authored
      * add defaut scope
      
      * Fix docstring
      
      * override get_current_instance method in DefaultScope
      
      clean meta nameing
      
      * remove default mmengine argument of DefaltScope
      
      remove default mmengine argument of DefaltScope
      
      remove default mmengine argument of DefaltScope
      
      * Fix unit test
      
      Fix unit test
      
      * Fix example in docstring
      
      * add explaination of DefaultScope
      563b4bad
  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
    • Zaida Zhou's avatar
      [Feature] Add MultiProcessTestCase (#136) · 2bf099d3
      Zaida Zhou authored
      * [Enhancement] Provide MultiProcessTestCase to test distributed related modules
      
      * remove debugging info
      
      * add timeout property
      2bf099d3
  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 13, 2022
  11. Mar 12, 2022
  12. Mar 10, 2022
  13. Mar 09, 2022
  14. Mar 08, 2022
  15. Mar 07, 2022
  16. Mar 06, 2022
    • Zaida Zhou's avatar
      [Feature] Add checkpoint helper (#93) · 8b0e74d3
      Zaida Zhou authored
      * [Feature] Add checkpoint helper
      
      * minor fix
      
      * add comments and fix format
      
      * add hub directory
      
      * add missing docstring
      8b0e74d3
    • Zaida Zhou's avatar
      Add Priority (#92) · ac666711
      Zaida Zhou authored
      ac666711
    • Mashiro's avatar
      [Feature] add logging UT and impl (#43) · 2d782b49
      Mashiro authored
      * first commit
      
      * update logging
      
      * update MessageHub unit test and LogBuffer unitest
      
      * update logging docs
      
      * update logging impl and test
      
      * update test logging
      
      * update test
      
      * update logging test and impl
      
      * Fix logging test
      
      * Update log_buffer.py
      
      * rename statistics argumentes
      
      * fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix meta class
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix name declare
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix docstring
      
      * Fix as comment
      
      * Fix as comment
      2d782b49
Loading