Skip to content
Snippets Groups Projects
  1. Aug 24, 2022
    • 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
  2. Aug 15, 2022
  3. Jun 28, 2022
  4. Jun 14, 2022
  5. Jun 13, 2022
    • Mashiro's avatar
      [Refactor] Refactor the accumulate gradient implemention of OptimWrapper (#284) · b7866021
      Mashiro authored
      * merge context
      
      * update unit test
      
      * add docstring
      
      * fix bug in AmpOptimWrapper
      
      * add docstring for backward
      
      * add warning and docstring for accumuate gradient
      
      * fix docstring
      
      * fix docstring
      
      * add params_group method
      
      * fix as comment
      
      * fix as comment
      
      * make default_value of loss_scale to dynamic
      
      * Fix docstring
      
      * decouple should update and should no sync
      
      * rename attribute in OptimWrapper
      
      * fix docstring
      
      * fix comment
      
      * fix comment
      
      * fix as comment
      
      * fix as comment and add unit test
      b7866021
    • RangiLyu's avatar
      [Fix] Fix image dtype when enable_normalize=False. (#301) · 819e10c2
      RangiLyu authored
      * [Fix] Fix image dtype when enable_normalize=False.
      
      * update ut
      
      * move to collate
      
      * update ut
      819e10c2
  6. Jun 09, 2022
    • Mashiro's avatar
      [Enhance] Enhance img data preprocessor (#290) · 931db990
      Mashiro authored
      * fix BaseDataPreprocessor
      
      * fix BaseDataPreprocessor
      
      * change device type to torch.device
      
      * change device type to torch.device
      
      * fix cpu method of base model
      
      * Allow ImgDataPreprocessor do not normalize
      
      * remove unnecessary type ignore
      
      * make mean and std optional
      
      * refine docstring
      931db990
    • Mashiro's avatar
      [Fix] Fix BaseDataPreprocessor and BaseModel (#285) · a9afdad7
      Mashiro authored
      * fix BaseDataPreprocessor
      
      * fix BaseDataPreprocessor
      
      * change device type to torch.device
      
      * change device type to torch.device
      
      * fix cpu method of base model
      a9afdad7
  7. Jun 08, 2022
  8. Jun 07, 2022
    • Mashiro's avatar
      [Feature]: add base model, ddp model wrapper and unit test (#268) · f04fec73
      Mashiro authored
      * add base model, ddp model and unit test
      
      * add unit test
      
      * fix unit test
      
      * fix docstring
      
      * fix cpu unit test
      
      * refine base data preprocessor
      
      * refine base data preprocessor
      
      * refine interface of ddp module
      
      * remove optimizer hook
      
      * add forward
      
      * fix as comment
      
      * fix unit test
      
      * fix as comment
      
      * fix build optimizer wrapper
      
      * rebase main and fix unit test
      
      * stack_batch support stacking ndim tensor, add docstring for merge dict
      
      * fix lint
      
      * fix test loop
      
      * make precision_context effective to data_preprocessor
      
      * fix as comment
      
      * fix as comment
      
      * refine docstring
      
      * change collate_data output typehints
      
      * rename to_rgb to bgr_to_rgb and rgb_to_bgr
      
      * support build basemodel with built DataPreprocessor
      
      * fix as comment
      
      * fix docstring
      f04fec73
Loading