Skip to content
Snippets Groups Projects
  1. Jan 12, 2023
  2. 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
  3. 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
  4. Aug 23, 2022
    • Zaida Zhou's avatar
      [Docs] Simplify hook docs (#428) · 6c607bd2
      Zaida Zhou authored
      * Move the design of hook to design/hook.md
      
      * add relative links in docs
      
      * update docstring of hooks
      
      * refine checkpointhook docs
      
      * refine
      
      * fix comments
      
      * refine
      
      * add logging.md link in hook.md
      
      * resolve comments
      
      * fix typo
      6c607bd2
  5. Jul 20, 2022
  6. Jun 22, 2022
  7. Jun 21, 2022
  8. May 26, 2022
  9. May 20, 2022
  10. May 19, 2022
  11. May 18, 2022
  12. May 06, 2022
  13. 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
  14. Apr 24, 2022
    • Mashiro's avatar
      [Refactor] Refine LoggerHook (#155) · e2a2b043
      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
      
      * 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
      e2a2b043
  15. Apr 21, 2022
    • Mashiro's avatar
      [Enhancement] Refine logging. (#148) · 82a313d0
      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
      
      * rename LogBuffer to HistoryBuffer, rename MessageHub methods, MessageHub support resume
      
      * refine MMLogger timestamp, update unit test
      
      * MMLogger add logger_name arguments
      
      * Fix docstring
      
      * change default logger_name to mmengine
      
      * Fix docstring comment and unitt test
      
      * fix docstring
      
      fix docstring
      
      * fix docstring
      
      * Fix lint
      
      * Fix hook unit test
      
      * Fix comments
      
      * should not accept other arguments if corresponding instance has been created
      
      * fix logging ddp file saving
      
      * fix logging ddp file saving
      
      * fix docstring
      
      * fix unit test
      
      * fix docstring as comment
      82a313d0
  16. 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
  17. Apr 12, 2022
  18. Apr 08, 2022
  19. Mar 31, 2022
  20. Mar 29, 2022
  21. Mar 13, 2022
    • Mashiro's avatar
      [Fix] Fix LoggerHook save mutiple ranks scalar in the same json file. (#124) · 4d49de7d
      Mashiro authored
      * use master_only to decorator _log_train and _log_val
      
      * fix resoloved TODO
      
      fix resoloved TODO
      
      fix resoloved TODO
      
      * fix raise error typo
      
      * ensure log item is python scalar
      4d49de7d
    • Mashiro's avatar
      [Refactor] Refactor the interfaces of Hook and its subclassed (#117) · a7961407
      Mashiro authored
      * Fix hook
      
      * Fix
      
      * Fix docs
      
      * FIx
      
      * Fix
      
      * Fix as comment
      
      * update
      
      * Fix hook
      
      * Fix hook
      
      * Fix hook
      
      * Fix itertimerhook
      
      * Fix iter_timer_hook
      
      * Fix
      
      * Fix
      
      * fix logger hook
      
      * Fix loggerhook
      
      * update cur_dataloader
      
      * Fix docstring
      
      * Fix docstring
      
      * Fix as commet
      
      * Fix as commet
      
      * Fix as comment
      
      * rename is_last_epoch, enhance and add after_val before_val .etc
      
      * fix typo in docstring
      
      * remove resolved TODO
      
      * refactor docstring
      a7961407
  22. Mar 09, 2022
  23. Mar 08, 2022
    • Mashiro's avatar
      [Feature] Add LoggerHook (#77) · 6f69039c
      Mashiro authored
      * add logger hook
      
      * update
      
      * update
      
      * update test
      
      * update
      
      * update test
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * Add logger hook
      
      * Fix pre-commit
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix bytes
      
      * update
      
      * Fix as comment
      
      * Fix as comment
      
      * Update runner
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      
      * Fix as comment
      6f69039c
Loading