Skip to content
Snippets Groups Projects
  1. Apr 12, 2022
  2. Apr 08, 2022
  3. Apr 05, 2022
  4. Apr 01, 2022
  5. 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
  6. Mar 29, 2022
  7. 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
  8. Mar 03, 2022
    • RangiLyu's avatar
      Add runner unit tests. (#68) · 64b1d183
      RangiLyu authored
      * add runner unit tests
      
      * update
      
      * update
      
      * add test custom loop and hook
      
      * add test model wrapper
      
      * add test setup env
      
      * fix typo
      
      * fix launcher
      
      * fix typo
      
      * test default scope
      
      * add logger test
      
      * fix dataloader
      
      * add test loop
      
      * resolve comments
      
      * resolve comments
      64b1d183
Loading