- Feb 01, 2023
-
-
Zaida Zhou authored
-
jbwang1997 authored
* Add read environment variable function in config * Add UT * enable int case, split predefined and environment * Update py config * Add new attributes env_variables in config * Add examples in docstring * Fix comments * Add tutorials * Add en tutorials * Refactor config docs according to comments * Fix comments * Change function name
-
- Jan 16, 2023
-
-
Mashiro authored
* [Feature] Add BaseInferencer (#773) * Update BaseInferencer * Fix ci * Fix CI and rename iferencer to infer * Fix CI * Add renamed file * Add test file * Adjust interface sequence * refine preprocess * Update unit test Update unit test * Update unit test * Fix unit test * Fix as comment * Minor refine * Fix docstring and support load image from different backend * Support load collate_fn from downstream repos, refine dispatch * Minor refine * Fix lint * refine grammar * Remove FileClient * Refine docstring * add rich * Add list_models * Add list_models * Remove backend args * Minor refine * Fix typos in docs and type hints (#787) * [Fix] Add _inputs_to_list (#795) * Add preprocess inputs * Add type hint * update api/infer in index.rst * rename preprocess_inputs to _inputs_to_list * Fix doc format * Update infer.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Fix] Fix alias type (#801) * [Enhance] Support loading model config from checkpoint (#864) * first commit * [Enhance] Support build model from weight * minor refine * Fix type hint * refine comments * Update docstring * refine as comment * Add method * Refine docstring * Fix as comment * refine comments * Refine warning message * Fix unit test and refine comments * replace MODULE2PACKAGE to MODULE2PAKCAGE * Fix typo and syntax error in docstring Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Tong Gao <gaotongxiao@gmail.com>
-
LEFTeyes authored
* [Feature] Add ReduceOnPlateauParamScheduler and change ParamSchedulerHook * [Feature] add ReduceOnPlateauLR and ReduceOnPlateauMomentum * pre-commit check * add a little docs * change position * fix the conflict between isort and yapf * fix ParamSchedulerHook after_val_epoch execute without train_loop and param_schedulers built * Apply suggestions from code review Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * update ReduceOnPlateauParamScheduler, ReduceOnPlateauMomentum and ParamSchedulerHook * fix get need_step_args attribute error in ParamSchedulerHook * fix load_state_dict error for rule in ReduceOnPlateauParamScheduler * add docs for ParamSchedulerHook and fix a few codes * [Docs] add ReduceOnPlateauParamScheduler, ReduceOnPlateauMomentum and ReduceOnPlateauLR docs * [Refactor] adjust the order of import * [Fix] add init check for threshold in ReduceOnPlateauParamScheduler * [Test] add test for ReduceOnPlateauParamScheduler, ReduceOnPlateauLR and ReduceOnPlateauMomentum * [Fix] fix no attribute self.min_value * [Fix] fix numerical problem in tests * [Fix] fix error in tests * [Fix] fix ignore first param in tests * [Fix] fix bug in tests * [Fix] fix bug in tests * [Fix] fix bug in tests * [Fix] increase coverage * [Fix] fix count self._global_step bug and docs * [Fix] fix tests * [Fix] modified ParamSchedulerHook test * Update mmengine/optim/scheduler/param_scheduler.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * [Fix] modified something according to commented * [Docs] add api for en and zh_cn * [Fix] fix bug in test_param_scheduler_hook.py * [Test] support more complicated test modes(less, greater, rel, abs) for ReduceOnPlateauParamScheduler * [Docs] add docs for rule * [Fix] fix pop from empty list bug in test * [Fix] fix check param_schedulers is not built bug * [Fix] fix step_args bug and without runner._train_loop bug * [Fix] fix step_args bug and without runner._train_loop bug * [Fix] fix scheduler type bug * [Test] rename step_args to step_kwargs * [Fix] remove redundancy check * [Test] remove redundancy check * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Test] fix some defects Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Jan 12, 2023
-
-
Ma Zerun authored
* [Enhance] Support non-scalar type metric value. * Refactor support. * Fix non-scalar tags problem during validation * Update tag processor.
-
- Jan 09, 2023
-
-
Mashiro authored
* Separate init_cfgs to pretrained_cfg and other_cfgs * Fix unit test * update documentation * Fix render of initialize.md * Fix as comment * rename initialize.md to weight_initialization.md * add file * fix ci * rename weight_initialization.md to initialize.md * Fix duplicated .md
-
- Dec 30, 2022
-
-
Mashiro authored
* [Fix] Fix config cannot parse tmp path like * Add comments * Add comments * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Dec 28, 2022
-
-
Zaida Zhou authored
* [Enhance] Ensure metrics is not empty when saving best ckpts * fix warn to warning * delete a unnecessary method
-
- Dec 27, 2022
-
-
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:
Zaida 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:
RangiLyu <lyuchqi@gmail.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
RangiLyu <lyuchqi@gmail.com>
-
BayMax_BHL authored
* [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * [Feature] Add profiler hook functionality * Apply suggestions from code review * Update mmengine/hooks/profiler_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Mashiro authored
* only test timer in linux * Fix merge_stage_test.yml * remove install ffmpeg * test_ci * test_ci * Fix python -m pip install pip --upgrade to pip install * don't test unittest with sleep 1 in windows * debug with tmate * increase timeout * increase timeout * skip test gloo * skip test gloo * fix synteax error * skip test gloo in torch 1.13 * skip test gloo in torch 1.13 * skip testing setup_env in macOS * skip test test_dist * skip test setup * restore triggered during push * clean the code * debug macos * refine macOS CI * test merge stage test * trigger CI during push to main * Fix as comment
-
- Dec 23, 2022
-
-
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
-
- Dec 21, 2022
-
-
Xiangxu-0103 authored
* Update docstring of `structures` * update docs * add `import torch` to `examples`
-
- Dec 20, 2022
-
-
Zaida Zhou authored
* [Fix] Fix failed unit tests caused by the new released numpy * minor fix
-
- Dec 19, 2022
-
-
Qian Zhao authored
* fix zero_optimizer error with param groups when pytorch < 1.12.0 * add docstring * fix docstring * add unittest * change ut to use a valid paramwise_cfg * modify ut * fix as comments
-
- Dec 16, 2022
-
-
RangiLyu authored
* [Fix] Fix bias decay mult of depth-wise conv. * support flatten param weight decay multiplier * add unit tests * REMOVE TODO * update doc
-
- Dec 13, 2022
-
-
Mashiro authored
-
- Dec 11, 2022
-
-
Mashiro authored
* enhance get_torchvision_model * remove mmcv
-
- Dec 07, 2022
-
-
Ma Zerun authored
-
- Dec 05, 2022
-
-
Qian Zhao authored
* fix BaseModel `to` method to be consistent with torch.nn.Module * fix data_preprocessor as well * fix docstring alignment * fix docstring alignment
-
- Nov 29, 2022
-
-
SUNYC authored
* feat: add conf_path in PetrelBackend * Update mmengine/fileio/backends/petrel_backend.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
-
- Nov 24, 2022
-
-
liukuikun authored
* remove redundant attribute in dump or print * optimize efficiency Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn>
-
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
-
- Nov 22, 2022
-
-
cir7 authored
* [Enhance] support eta_min_ratio in CosineAnnealingParamScheduler * [doc] fix docstring * [Enhance] add ut for eta_min_ratio * [doc] update docstring * avoid bc-breaking of eta_min * [doc] add docstring in CosineAnnealingParamScheduler and CosineAnnealingMomentum * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
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
-
- Nov 21, 2022
-
-
Mashiro authored
* right allign the log * fix as comment * Add comments for magic number 3 * remove max_len_str * Update mmengine/runner/log_processor.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Mashiro authored
* Add runner test cast * Fix unit test * fix unit test * 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 * fix as comment * minor refine Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix lint Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Nov 17, 2022
- Nov 02, 2022
-
-
Yanhong Zeng authored
* fix docstring and documentation used for hub.get_model * fix config name in test_hub * fix docstring mentioned faster-rcnn in utils
-
- Nov 01, 2022
-
-
BigDong authored
* [Fix] Fix ConcatDataset error in VOCDataset * minor fix * minor fix * minor fix * add UT * minor fix * minor fix * minor fix * Update mmengine/dataset/dataset_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * minor fix * Update mmengine/dataset/dataset_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Z-Fran authored
* [Fix] fix CosineRestart eta_min * add ut case * Enhance unit test Enhance unit test * remove unused code Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn>
-
- Oct 28, 2022
-
-
Mashiro authored
* [Fix] Fix cound not handle string data * Minor refine * Refine type hint Refine type hint * fix as comment * Minor refine * Update mmengine/model/base_model/data_preprocessor.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Oct 27, 2022
-
-
Hakjin Lee authored
* [Feature] Support torch ZeRORedundancyOptimizer Co-authored-by:
Junhwa Song <ethan9867@gmail.com> Signed-off-by:
Junhwa Song <ethan9867@gmail.com> Signed-off-by:
Hakjin Lee <nijkah@gmail.com> * lint * Fix saving optimizer state_dict * Fix handling import error * Add test case * fix UT * Revert "fix UT" This reverts commit dd64538960ff7440c6020f533d43945ffc23f2d2. * fix handling import in UT * Fix saving zero checkpoint and delete redundant master_only * lint * test unittest * Fix handling impor error * Fix UT condition * Edit docstrings * Fix typo * Skip redundant procudure in checkpoint hook * fix typo again * Update mmengine/optim/optimizer/zero_optimizer.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Add api info * lint * Fix lint * Handling AmpOptimWrapper case * handling overlap_with_ddp * Fix error Signed-off-by:
Junhwa Song <ethan9867@gmail.com> Signed-off-by:
Hakjin Lee <nijkah@gmail.com> Co-authored-by:
Junhwa Song <ethan9867@gmail.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Oct 24, 2022
-
-
Mashiro authored
* call register_all_modules in Registry.get() * Fix ci * fix scope bug (scope_name -> scope), for temp sync * Fix unit test * Refine log information Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix typo Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Mashiro authored
* [Enhancement] Add a deprecated function * Refine and add ut * tmp save * minor refine * Fix unit test * Fix unit test * fix docstring * Update utils.rst
-
wangjiangben-hw authored
* init npu * Update mmengine/optim/optimizer/amp_optimizer_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/dist/dist.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * change to is_hccl_backend * Update mmengine/optim/optimizer/amp_optimizer_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add comment with AmpOptimWrapper * Update mmengine/runner/amp.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/runner/amp.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add npu fn in base_model * Update mmengine/optim/optimizer/amp_optimizer_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * clean lint * Update mmengine/optim/optimizer/amp_optimizer_wrapper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/model/base_model/base_model.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * add is_npu_available * try to fix * Add comments * Refine grammar Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn>
-
shenmishajing authored
* fix add_config func is not called bug fix wandb add_config bug add wandb log_code feature * move log_code_name param to the last one add log_code_name param to docstring * add config only when there is a cfg Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add unit test for log_code_name param of WandbVisBackend * Update mmengine/visualization/vis_backend.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * use log_code_kwargs instead of only log_code_name add PATH_FILTERS registry * use log_code_kwargs instead of only log_code_name add PATH_FILTERS registry * fix add config unit test * roll back to log_code_name version Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Oct 18, 2022