- Mar 10, 2023
-
-
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>
-
- Feb 19, 2023
-
-
wxDai authored
-
- Feb 15, 2023
-
-
whcao authored
* fix the bug when the params in shared modules do not require grad * test DefaultOptimWrapperConstructor when the params in shared modules do not require grad
-
- Feb 14, 2023
-
-
Eiuyc authored
* beautify the print result of the registry * remove tabulate and use rich for repr * remove table width; text align to left * sort _model_dict items
-
Zaida Zhou authored
* [Docs] how to set the interval parameter * fix link * fix * fix * refine * refine * Update docs/zh_cn/common_usage/set_interval.md Co-authored-by:
Qian Zhao <112053249+C1rN09@users.noreply.github.com> * Update index.rst --------- Co-authored-by:
Qian Zhao <112053249+C1rN09@users.noreply.github.com>
-
- Feb 13, 2023
-
-
Zaida Zhou authored
* Fix docstring * fix
-
- Feb 08, 2023
-
-
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
-
- Feb 06, 2023
-
-
xcnick authored
* add ApexOptimWrapper * typo fix * add apex amp.initialize in optim_context * assert apex_amp * polish code * add parameters of apex_amp.initialize * add docs * polish code * polish code * polish code * fix calling of apex amp load_state_dict * polish * add comments * Update apex_optimizer_wrapper.py * Update apex_optimizer_wrapper.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Feb 03, 2023
-
-
Kevin Wang authored
* [Feature] visualizer.draw_texts() add a font_properties argument in order to show Chinese characters. * [Fix] move font_properties argument to the end. * Update docstring of font_properties parameter. * [Fix] moving FontProperties import clause to draw_texts() and add TYPE_CHECKING * Update mmengine/visualization/visualizer.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Alexander Pacha authored
* Adding missing pre-commit requirement to tests.txt * Added support for setting a timeout for distributed learning * Adding documentation about how to change the runtime timeout into the distributed manual. * Fixed type in documentation to correctly specify an integer * Removing type-cast after checking the correct type already before * Update mmengine/dist/utils.py Adding an explicit `is not None` to the check Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Removing explicit type check and replacing it with more pythonic way of assuming it is the right type and handling the exception if the type doesn't match. * Removing pre-commit from test requirements again * Simplified the code according to suggestions from PR * Update distributed.md --------- Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
takuoko authored
* add dadaptation * Update mmengine/optim/optimizer/builder.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update dadaptation docs --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Feb 01, 2023
-
-
Mashiro authored
* Clean the commit history * Update message_hub.py --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
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 31, 2023
-
-
Zaida Zhou authored
* Improve registry infer_scope * add warning info * set scope as mmengine when failed to infer it * refine message
-
- Jan 20, 2023
-
-
Mashiro authored
* Bump version to v0.5.0 * Fix as comment * Change release date * Update README.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 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 * add infer.md * minor refine * minor refine * minor refine * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix conflicts and minor refine * minor refine * Fix as comment Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Tong Gao <gaotongxiao@gmail.com>
-
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>
-