Skip to content
Snippets Groups Projects
  1. Jan 16, 2023
  2. Dec 23, 2022
    • RangiLyu's avatar
      [Feature] Registry supports import modules automatically. (#643) · e83ac944
      RangiLyu authored
      * [Feature] Support registry auto import modules.
      
      * update
      
      * rebase and fix ut
      
      * add docstring
      
      * remove count_registered_modules
      
      * update docstring
      
      * resolve comments
      
      * resolve comments
      
      * rename ut
      
      * fix warning
      
      * avoid BC breaking
      
      * update doc
      
      * update doc
      
      * resolve comments
      e83ac944
  3. Nov 22, 2022
    • songyuc's avatar
      [Feature] Add get_hooks_info() to print hooks messages (#672) · 6636f07c
      songyuc authored
      * Add test of get_hooks_info()
      
      * Change to use original Runner for get_hook_info() test
      
      * Change to test after_train_iter hooks for get_hook_info()
      
      * Complement the stages list
      
      * Add logging hooks information in Runner.__init__()
      
      * Rearrange the stages list
      
      * Restore the stages to tuple type
      
      * Clean the unnecessary changes
      
      * Replace  statement with TestCase's methods
      
      * add test stages in method_stages_map
      
      * change the hooks info into a f-string
      
      * return list(trigger_stages) directly
      
      * change keys of method_stages_map
      
      * Fix previous changes to method_stages_map.keys
      6636f07c
  4. Nov 17, 2022
  5. Nov 03, 2022
  6. Oct 24, 2022
  7. Oct 10, 2022
    • Mashiro's avatar
      [Feature] Add test time augmentation base model. (#538) · 62456217
      Mashiro authored
      * First commit
      
      * add BaseTestTimeAugModel
      
      * Add unit test
      
      * move loop logic to test_step
      
      * fix ddp test
      
      * rename model to module
      
      * optim __init__
      
      * Fix as comment
      
      * Fix as comment
      
      * make val_step should not be called
      
      * make tta do not inherit base model
      
      * Fix unit test
      
      * Enhance docstring
      
      * Fix as comment
      
      * Fix as comment
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * fix unit test
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * fix unit test
      62456217
  8. Sep 26, 2022
    • Zaida Zhou's avatar
      [Refactor] Refactor fileio without breaking back compatibility (#533) · ed84dfd3
      Zaida Zhou authored
      * [Refactor] Refactor fileio but without breaking bc
      
      * handle compatibility
      
      * fix format
      
      * modify io functions
      
      * fix ut
      
      * fix ut
      
      * rename method names
      
      * refine
      
      * refine docstring
      
      * fix ut in windows
      
      * update ut
      
      * minor fix
      
      * ensure client is not None when closing it
      
      * add more examples for list_dir_or_file interface
      
      * refine docstring
      
      * refine deprecated info
      
      * fix ut
      
      * add a description for lmdb docstring
      ed84dfd3
  9. Sep 22, 2022
  10. Sep 15, 2022
    • Mashiro's avatar
      [Feature] Support convert `BN` to `SyncBN` by config (#506) · 8ee31dbc
      Mashiro authored
      * [Feature] Support convert BN to SyncBN by config
      
      * make unit test compatible with cpu
      
      * Fix as comment
      
      * fix unit test
      
      * change signature of convert_sync_batchnorm: rename sync_bn to implemention
      
      * fix unit test
      
      * fix unit test
      8ee31dbc
  11. Aug 26, 2022
  12. Aug 24, 2022
    • Mashiro's avatar
      [Refactor] Refactor data flow to make the interface more natural (#468) · 8770c6c7
      Mashiro authored
      * [Refactor]: modify interface of Visualizer.add_datasample (#365)
      
      * [Refactor] Refactor data flow: refine `data_preprocessor`. (#359)
      
      * refine data_preprocessor
      
      * remove unused BATCH_DATA alias
      
      * Fix type hints
      
      * rename move_data to cast_data
      
      * [Refactor] Refactor data flow: collate data in `collate_fn` of `DataLoader`  (#323)
      
      * acollate data in dataloader
      
      * fix docstring
      
      * refine comment
      
      * fix as comment
      
      * refactor default collate and psedo collate
      
      * foramt test file
      
      * fix docstring
      
      * fix as comment
      
      * rename elem to data_item
      
      * minor fix
      
      * fix as comment
      
      * [Refactor] Refactor data flow: `data_batch` argument of `Evaluator.process is a `dict` (#360)
      
      * refine evaluator and metric
      
      * compatible with new default collate
      
      * replace default collate with pseudo
      
      * Handle data_batch in metric
      
      * fix unit test
      
      * fix unit test
      
      * fix unit test
      
      * minor refine
      
      * make data_batch optional
      
      make data_batch optional
      
      * rename outputs to predictions
      
      * fix ut
      
      * rename predictions to outputs
      
      * fix docstring
      
      * fix docstring
      
      * fix unit test
      
      * make outputs and data_batch to kwargs
      
      * fix unit test
      
      * keep signature of metric
      
      * fix ut
      
      * rename pred_sample arguments to data_sample(Visualizer)
      
      * fix loop and ut
      
      * [refactor]: Refactor model dataflow (#398)
      
      * [Refactor] Refactor data flow: refine `data_preprocessor`. (#359)
      
      * refine data_preprocessor
      
      * remove unused BATCH_DATA alias
      
      * Fix type hints
      
      * rename move_data to cast_data
      
      * refactor model data flow
      
      tmp_commt
      
      tmp commit
      
      * make val_cfg and test_cfg optional
      
      * roll back runner
      
      * pass test mmdet
      
      * fix as comment
      
      fix as comment
      
      fix ci in DataPreprocessor
      
      * fix ut
      
      * fix ut
      
      * fix rebase main
      
      * [Fix]: Fix test val ddp (#462)
      
      * [Fix] Fix docstring and type hint of data flow (#463)
      
      * Fix docstring of data flow
      
      * change signature of hook
      
      * fix unit test
      
      * resolve conflicts
      
      * fix lint
      8770c6c7
    • Zaida Zhou's avatar
      [Refactor] Refactor code structure (#395) · 7e1d7af2
      Zaida Zhou authored
      * Rename data to structure
      
      * adjust the way to import module
      
      * adjust the way to import module
      
      * rename Structure to Data Structures in docs api
      
      * rename structure to structures
      
      * support using some modules of mmengine without torch
      
      * fix circleci config
      
      * fix circleci config
      
      * fix registry ut
      
      * minor fix
      
      * move init method from model/utils to model/weight_init.py
      
      * move init method from model/utils to model/weight_init.py
      
      * move sync_bn to model
      
      * move functions depending on torch to dl_utils
      
      * format import
      
      * fix logging ut
      
      * add weight init in model/__init__.py
      
      * move get_config and get_model to mmengine/hub
      
      * move log_processor.py to mmengine/runner
      
      * fix ut
      
      * Add TimeCounter in dl_utils/__init__.py
      7e1d7af2
  13. Aug 23, 2022
  14. Aug 19, 2022
  15. Aug 17, 2022
  16. Aug 16, 2022
  17. Aug 11, 2022
  18. Aug 09, 2022
  19. Aug 08, 2022
    • Mashiro's avatar
      [Enhance] Support log enviroment information during initiate runner (#384) · cd257c90
      Mashiro authored
      * Support log enviroment information when initiate runner
      
      * Fix unit test
      
      * fix as comment, save world_size
      
      * log gpu num
      
      * clear code and reformat log
      
      * minor refine
      
      * fix as comment
      
      * minor refine
      
      * clean the code
      
      * clean the code
      
      * remove save world_size in meta
      cd257c90
    • Mashiro's avatar
      [Enhance] Add build function for scheduler. (#372) · a07a0633
      Mashiro authored
      * add build function for scheduler
      
      * add unit test
      
      add unit test
      
      * handle convert_to_iter in build_scheduler_from_cfg
      
      * restore deleted code
      
      * format import
      
      * fix lint
      a07a0633
    • Mashiro's avatar
      [Fix] Fix build multiple list of scheduler for multiple optimizers (#383) · 55805426
      Mashiro authored
      * fix build multiple scheduler
      
      * add new unit test
      
      * fix comment and error message
      
      * fix comment and error message
      
      * extract _parse_scheduler_cfg
      
      * always call build_param_scheduler during train and resume. If there is only one optimizer, the defaut value for sheduler will be a list, otherwise there is multiple optimizer, the default value of sheduler will be a dict
      
      * minor refine
      
      * rename runner test exp name
      
      * fix as comment
      
      * minor refine
      
      * fix ut
      
      * only check parameter scheduler
      
      * minor refine
      55805426
  20. Aug 04, 2022
  21. Jul 30, 2022
  22. Jul 22, 2022
  23. Jul 21, 2022
  24. Jul 19, 2022
  25. Jul 15, 2022
  26. Jul 14, 2022
  27. Jul 08, 2022
    • Mashiro's avatar
      [Fix] Fix missing device ids in wrap_model (#351) · 936c4ebc
      Mashiro authored
      * fix missing device ids in wrap_model
      
      * clean the code
      
      * use default broadcast_buffers
      
      * refine MMSeparateDistributedDataParallel
      
      * rename tmp variable
      
      * refine docstring
      
      * add type hints
      
      * refactor docstring of ddp model
      
      * add  arg in docstring
      
      * minor refine
      
      * better ddp link
      936c4ebc
  28. Jul 05, 2022
  29. Jun 24, 2022
    • Yuan Liu's avatar
      [Feature]: Set different seed to different rank (#298) · 03d5c17b
      Yuan Liu authored
      * [Feature]: Set different seed for diff rank
      
      * [Feature]: Add log
      
      * [Fix]: Fix lint
      
      * [Fix]: Fix docstring
      
      * [Fix]: Fix sampler seed
      
      * [Fix]: Fix log bug
      
      * [Fix]: Change diff_seed to diff_rank_seed
      
      * [Fix]: Fix lint
      03d5c17b
  30. Jun 23, 2022
  31. Jun 22, 2022
Loading