- Mar 30, 2023
-
-
Mashiro authored
* [Enhance] Make sure the FileHandler still alive after * Resume filter * avoid bc * Fix unit test * clean the code * revert changes and set mode from 'm' to 'a' * mode to file_mode * add comments * refine comments * Fix duplicated the
-
- Mar 29, 2023
-
-
Zaida Zhou authored
-
Mashiro authored
-
Mashiro authored
* [Enhance] Make sure the FileHandler still alive after * minor refine * minor refine * refine unit test * update CI * update CI * Fix CI * fix build_windows * fix build_windows * fix build_windows * fix build_windows * debug * debug * debug * debug * debug * debug * debug * test windows CI * Fix * Debug * Fix unit test * Fix unit test * Fix CI * update image version * update action/checkout and action/setup-python * add condition to skip test compile * [Fix] Update CI and fix unit test * check compiling by attempting compilation * check compiling by attempting compilation * check compiling by attempting compilation * use windows-2022 in runs on * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update yml * remove unnecessary assert * assert grad is None according to the PyTorch version * Fix code --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
KerwinKai authored
* add publish keys in checkpointhook and update hook.md file * Update checkpoint_hook.py To avoid `mypy` warning `mmengine/hooks/checkpoint_hook.py:358: error: Unsupported right operand type for in ("Optional[List[str]]") Found 1 error in 1 file (checked 224 source files)` * Update hook.md Try to avoid trim trailing whitespace waring in hook.md * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update checkpoint_hook.py * Update docs/en/tutorials/hook.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update hook.md add 自动发布最好的和最后的权重 * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update checkpoint_hook.py add condition when the best checkpoints more than 1. * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update checkpoint_hook.py delete re judge * Update checkpoint_hook.py * Update checkpoint_hook.py * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update checkpoint_hook.py * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update checkpoint_hook.py * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Add Test for publish model * Update checkpoint_hook.py * Update test_checkpoint_hook.py * Fix file to pass pre-commit check * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Fix mypy warning * rm not necessary line in checkpoint_hook.py * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * rm unnecessary messages add to message_hub * Update mmengine/hooks/checkpoint_hook.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update docs/zh_cn/tutorials/hook.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update docs/zh_cn/tutorials/hook.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update checkpoint hook and hook.md file * Apply suggestions from code review * Apply suggestions from code review Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmengine/hooks/checkpoint_hook.py --------- Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Mar 28, 2023
-
-
Mashiro authored
-
- Mar 19, 2023
-
-
Qian Zhao authored
* refactor get_device and is_npu_available * Update mmengine/device/utils.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Mar 17, 2023
- Mar 16, 2023
-
-
Mashiro authored
* Bump version to v0.7.0 * Minor refine * Fix as comment * Add docs link * update release date
-
- Mar 14, 2023
-
-
liukuikun authored
* [Fix] fix pytorch2.0 not support sys._getframe to remove private key * Update mmengine/structures/base_data_element.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Mashiro authored
* [Fix] Fix inferencer get wrong configs path * Update CI * Fix indent * Fix CI arguments * gpu test in CI gpu test in CI * require lint * Adjust pytorch version and cuda version * Fix docker * Fix docker syntax * Use bach -c * Use bach -c * Replace is_installed with is_imported * Fix * Fix PYTHONPATH
-
- Mar 13, 2023
-
-
luomaoling authored
* add npu device support * add npu device support
-
Mashiro authored
* Add hostname * Update mmengine/logging/logger.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix lint * support record device id * Fix unit test * Clean the code * Fix as comment * Fix as comment * Fix unit test * Update doc * Fix unit test * Adjust sequence * Replace \ with () * remove unnecessary () * does not change filename in single gpu training * Fix ci * fix docs * Fix as comment --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Mashiro authored
* Log with prefix * Fix test of loggerhook * minor refine * minor refine * Fix unit test * clean the code * deepcopy in method * replace regex * Fix as comment * Enhance readable * rename reserve_prefix to remove_prefix * Fix as comment * Refine unit test * Adjust sequence * clean the code * clean the code * revert renaming reserve prefix * Count the dataloader length in _get_dataloader_size
-
- Mar 12, 2023
-
-
Qian Zhao authored
* enable compile configurations to support torch.compile in Runner * enable compilation in train, val and test * fix as comments * add docstring to illustrate usage * minor refine error message * add unittests * fix ut skip * add logging message to inform users * compile `train_step`, `val_step`, `test_step` instead * fix as comments * revert to compile `train_step` only due to pt2 issue * add documentation about torch.compile
-
- Mar 10, 2023
-
-
Mashiro authored
* [Fix] Fix repeated warning * Add type hint * Fix unit test * Rename recorder_dict to seen * Fix as comment
-
Mashiro authored
* [Fix]Silence error when ManagerMixin built duplicate name instance * [Fix]Silence error when ManagerMixin built duplicate name instance * Update mmengine/utils/manager.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Mar 09, 2023
-
-
Mashiro authored
* Support calculate the flops of matmul * Remove unnecessary type ignore * Update mmengine/analysis/jit_handles.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Mar 08, 2023
-
-
Infinity_lee authored
* add memory in other log * fix * fix * keep empty line
-
Mashiro authored
* [Enhancement] Add FUNCTIONS Registry * Refine as comment * clean the code
-
- Mar 06, 2023
-
-
Mashiro authored
* Replace warning with print_log * Add comments for testing warning
-
Hakjin Lee authored
* [Feature] EarlyStoppingHook * delete redundant line * Assert stop_training and rename tests * Fix UT * rename `metric` to `monitor` * Fix UT * Fix UT * edit docstring on patience * Draft for new code * fix ut * add test case * add test case * fix ut * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Append hook * Append hook * Apply suggestions * Update suggestions * Update mmengine/hooks/__init__.py * fix min_delta * Apply suggestions from code review * lint * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * delete save_last * infer rule more robust * refine unit test * Update mmengine/hooks/early_stopping_hook.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
zhouzaida <zhouzaida@163.com> Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn>
-
- Mar 01, 2023
-
-
Qian Zhao authored
* support bf16 in AmpOptimWrapper * add docstring * modify docs * add unittests for bf16 in AmpOptimWrapper * fix type * fix to pass ci * fix ut skip logic to pass ci * fix as comment * add type hints * fix docstring and add warning information * remove check for pytorch>=1.6 in unittest * modify unittest * modify unittest * remove torch.float32 && torch.float64 from valid dtypes * fix as comments * minor refine docstring * fix unittest parameterized to pass CI * fix unittest && add back torch.float32, torch.float64
-
- Feb 27, 2023
-
-
Zaida Zhou authored
-
- Feb 24, 2023
-
-
Mashiro authored
* update version * Update change log * Fix as comment * Add link to username * Refine * Adjust highlight sequence * Fix as comment * Fix error format in changelog * delete chinese changelog * remove link * Adjust highlight sequence
-
- Feb 23, 2023
-
-
Mashiro authored
* Support get config from model-index without installing downstream repo * Rename _get_models_from_package to _get_models_from_config_dir * adjust priority * Fix as comment * Refine exception * Replace osp.xxx with fileio.xxx * Refine as comment * Revert "Replace osp.xxx with fileio.xxx" This reverts commit 6aed9b2e88f5cf98614772ddbd89ccad22fa7d2f. * replace fileio with osp * fix * Fix as comment
-
Zaida Zhou authored
-
Zaida Zhou authored
-
- Feb 22, 2023
-
-
Weihang Xia authored
* Make sure Tensors to cast is contiguous * simplify --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Feb 21, 2023
-
-
Qian Zhao authored
* temporarily fix `collect_env` raise errors and stops programs * remove the final catch block
-
Mashiro authored
* Refacot ema hook unit test * Refacot ema hook unit test * Enhance test_after_load_checkpoint * refine error messsage * Refine as comment --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Fix unit test
-
Mashiro authored
* refactor base hooks * Fix CI
-
Zaida Zhou authored
* fix typo * [Docs] Add debug skills * minor fix * refine * rename debug_skills to debug_tricks * refine * Update docs/en/common_usage/debug_tricks.md
-
Mashiro authored
* Add epoch 2 iter * Add epoch 2 iter * Refine chinese docs * Add example for training CIFAR10 by iter * minor refine * Fix as comment * Fix as comment * Refine description * Fix as comment * minor refine * Refine description Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Translate to en * Adjust indent --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
luomaoling authored
* Feature NPUProfilerHook * Feature NPUProfilerHook
-
Zaida Zhou authored
* Refine the repr of Registry * fix ut * fix ut
-
Zaida Zhou authored
-
- Feb 20, 2023
-
-
Zaida Zhou authored
* Refine the style of table * refine
-
Songyang Zhang authored
* [Feature] Add support model complexity computation * [Fix] fix lint error * [Feature] update print_helper * Update docstring * update api, docs, fix lint * fix lint * update doc and add test * update docstring * update docstring * update test * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/print_helper.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/analysis/complexity_analysis.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update docs/en/advanced_tutorials/model_analysis.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update docs/en/advanced_tutorials/model_analysis.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update docs * update docs * update docs and docstring * update docs * update test withj mmlogger * Update mmengine/analysis/complexity_analysis.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update tests/test_analysis/test_activation_count.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update test according to review * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix lint * fix test * Apply suggestions from code review * fix API document * Update analysis.rst * rename variables * minor refinement * Apply suggestions from code review * fix lint * replace tabulate with existing rich * Apply suggestions from code review * indent * Update mmengine/analysis/complexity_analysis.py * Update mmengine/analysis/complexity_analysis.py * Update mmengine/analysis/complexity_analysis.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
zhouzaida <zhouzaida@163.com>
-