Skip to content
Snippets Groups Projects
  1. Apr 05, 2023
  2. Mar 17, 2023
  3. Mar 06, 2023
  4. Feb 08, 2023
    • Qian Zhao's avatar
      [Docs] Resolve warnings in sphinx build (#915) · c712070c
      Qian Zhao authored
      * add ZeroOptimizer to optim
      
      * resolve `duplicate label` warnings
      
      * upgrade docutils && shpinx to resolve `unknown directive or role` warnings
      
      * fix typo
      
      * resolve literal_block && heading warnings
      
      * resolve json literal_block warnings
      
      * resolve python literal_block warnings
      
      * resolve bunches of reference warnings
      
      * resolve bunches of docstring warnings
      
      * resolve warnings in autosummary
      
      * resolve remaining warnings in en docs
      
      * resolve heading warnings in zh_cn docs
      
      * resolve remaining warnings in zh_cn docs
      
      * fix as comments
      
      * fix as comments
      c712070c
  5. Jan 10, 2023
  6. Jan 09, 2023
  7. Dec 27, 2022
    • Mashiro's avatar
      Make TTAModel compatible with FSDP (#611) · a9b6753f
      Mashiro authored
      
      * Add build_runner_with_tta and PrepareTTAHook
      
      * rename hook file
      
      * support build tta runner with runner type
      
      * add unit test
      
      * Add build_runner_with_tta to index.rst
      
      * minor refine
      
      * Add runner test cast
      
      * Fix unit test
      
      * fix unit test
      
      * tmp save
      
      * pop None if key does not exist
      
      * Fix is_model_wrapper and force register class in test_runner
      
      * [Fix] Fix is_model_wrapper
      
      * destroy group after ut
      
      * register module in testcase
      
      * pass through unit test
      
      * fix as comment
      
      * remove breakpoint
      
      * remove mmengine/testing/runner_test_cast.py
      
      * minor refine
      
      * minor refine
      
      * minor refine
      
      * set default data preprocessor for model
      
      * minor refine
      
      * minor refine
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * fix lint
      
      * Fix unit test
      
      * replace  with  in ImgDataPreprocessor
      
      * Fix as comment
      
      * add inference tutorial in advanced tutorial
      
      * update index.rst
      
      * add tta example
      
      * refine tta tutorial
      
      * Add english tutorial
      
      * add note for build_runner_with_tta
      
      * Fix as comment
      
      * add examples
      
      * remove chinese comment
      
      * Update docs/en/advanced_tutorials/test_time_augmentation.md
      
      Co-authored-by: default avatarRangiLyu <lyuchqi@gmail.com>
      
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarRangiLyu <lyuchqi@gmail.com>
      a9b6753f
  8. Dec 12, 2022
  9. Dec 05, 2022
  10. Nov 24, 2022
    • Mashiro's avatar
      [Enhance] Enhance compatibility of `revert_sync_batchnorm` (#695) · ded73f3a
      Mashiro authored
      * [Enhance] Enhance revert_sync_batchnorm and convert_sync_batchnorm
      
      * [Enhance] Enhance revert_sync_batchnorm and convert_sync_batchnorm
      
      * Fix unit test
      
      * Add coments
      
      * Refine comments
      
      * clean the code
      
      * revert convert_sync_batchnorm
      
      * revert convert_sync_batchnorm
      
      * refine comment
      
      * fix CI
      
      * fix CI
      ded73f3a
  11. Nov 17, 2022
  12. Nov 02, 2022
  13. Oct 28, 2022
  14. Oct 24, 2022
  15. Oct 18, 2022
  16. Oct 11, 2022
  17. 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
  18. Oct 09, 2022
  19. Oct 08, 2022
  20. 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
  21. Sep 13, 2022
  22. Sep 09, 2022
  23. Aug 28, 2022
  24. Aug 26, 2022
  25. 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
  26. Aug 23, 2022
  27. Aug 15, 2022
  28. Jul 22, 2022
  29. 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
  30. Jun 28, 2022
  31. Jun 22, 2022
  32. Jun 21, 2022
Loading