Zaida Zhou
691500dce6
[Docs] Move the usage of distributed training to a single document ( #1171 )
2023-05-28 20:10:16 +08:00
Zaida Zhou
9207e84aa0
[Docs] Introduce the use of wandb and tensorboard ( #912 )
...
* [Docs] Introduce the use of wandb and tensorboard
* fix link
* Update docs/en/common_usage/visualize_training_log.md
2023-04-11 12:31:05 +08:00
Xin Li
6e58c0d24c
[Docs] Translate "how to set random seed" ( #930 )
...
* translate random_seed init
* try fix lint err
* update en/index.rst
* translate zhihu answer
* Update docs/en/common_usage/set_random_seed.md
* Update docs/en/common_usage/set_random_seed.md
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/common_usage/set_random_seed.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* reorg last part
* minor refine
* Update set_random_seed.md
* fix lint
---------
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: zhouzaida <zhouzaida@163.com>
2023-03-09 17:23:12 +08:00
Infinity_lee
54b6bbbd65
[Docs] Translate model analysis document to English ( #956 )
...
* add model analysis eng doc
* fix doc style
* add link in index.rst
* fix
* fix
* fix
* rename file
* fix
2023-03-05 21:03:26 +08:00
Yuetian Wang
53ae4fb2ec
[Docs] Add a document about setting interval ( #964 )
...
* Add a document about setting interval.
Add a document about Setting the Frequency of Logging, Weight Saving, and Validation.
* Update set_interval.md
Fixed a small bug in the hyperlink.
* Update set_interval.md
Fixed the wrong hyperlink
* Update with pre-commit.
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/common_usage/set_interval.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update index.rst
Added: common_usage/set_interval.md
---------
Co-authored-by: YuetianW <wangyuetian@supermicro.dscvlab.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-03-01 19:28:14 +08:00
Zaida Zhou
67acdbe245
[Docs] Add a document about debug tricks ( #938 )
...
* fix typo
* [Docs] Add debug skills
* minor fix
* refine
* rename debug_skills to debug_tricks
* refine
* Update docs/en/common_usage/debug_tricks.md
2023-02-21 21:40:35 +08:00
Mashiro
346989464c
[Docs] Add the document for the transition between IterBasedTraining and EpochBasedTraining ( #926 )
...
* 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>
2023-02-21 21:12:38 +08:00
Songyang Zhang
aee2f6a688
[Feature] Support model complexity computation ( #779 )
...
* [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>
2023-02-20 15:00:28 +08:00
Zaida Zhou
4749682885
[Docs] Move examples to a new directory ( #911 )
...
* [Docs] Move examples to a new directory
* fix typo
2023-02-07 17:03:35 +08:00
Xiang Xu
2cb71d93b3
[Docs] Update README ( #835 )
...
* Update link
* update zh version of readme
* fix typo
* Update README_zh-CN.md
* Update README_zh-CN.md
* Update README_zh-CN.md
* fix minor typo
* Update README_zh-CN.md
* Update README_zh-CN.md
* update docs
* Update infer.md
* Update README.md
* minor refinement
---------
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-02-05 13:01:47 +08:00
Mashiro
2d8f2be375
[Feature] Add BaseInferencer ( #874 )
...
* [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>
2023-01-16 16:01:06 +08:00
Mashiro
a9b6753fbe
Make TTAModel compatible with FSDP ( #611 )
...
* 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>
2022-12-27 21:39:43 +08:00
Mashiro
bda8c940d2
[Docs] translate the mangermixin tutorial ( #711 )
...
* [Docs] translate the mangermixin tutorial
* Fix as comment
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Minor refine
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Remove blank block
* fix lint
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Qian Zhao
af0e29094b
[Doc] Adjust docs structure ( #646 )
...
* adjust docs structure
* en caption rename
* Update docs/en/index.rst
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/index.rst
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/index.rst
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Mashiro
a49985f637
[Docs] Add contributing.md and code_style.md ( #754 )
...
* add contributing.md
* refine
* Fix as comment
2022-12-04 10:52:11 +08:00
Mashiro
13484aae9f
Bump version to v0.2.0 ( #591 )
...
* Bump version to v0.2.0
* Add changelog
* minor refine
* minor refine
* update date
* clean the code
* minor refine
* update release date
* Fix grammar
* Fix grammar
* Fix grammar
* Fix grammar
* Minor refine
* Fix error format in readme
* update date
* minor refine
* minor refine
* minor refine
* minor refine
* refine grammar
2022-10-11 23:08:17 +08:00
Zaida Zhou
ba1c368f94
[Docs] Fix index.rst in docs ( #505 )
...
* [Docs] Fix outdated index
* update index.rst
* fix readme url
2022-09-01 11:34:03 +08:00
Zaida Zhou
458f6d684e
[Docs] Refactor docs structure ( #494 )
...
* [WIP] Refactor-docs-structure
* [Docs] Check link and fix rst (#498 )
* check link
* fix rst
* Fix conf.py
* Fix lint
* minor refine
* minor refine
* modify zh_readme and index.rst
* add migration exampls get_started design to en
* add tutorials to en
* correct chinese doc link
* Apply suggestions from code review
* Update docs/en/advanced_tutorials/distributed.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
2022-08-31 21:18:55 +08:00
Zaida Zhou
3f5e08fa4a
[Docs] Make API of docs clearer ( #469 )
...
* [Docs] Make API of docs clearer
* minor fix
* fix md format
2022-08-30 16:27:20 +08:00
Zaida Zhou
cccd20a636
[Feature] Add Registry ( #11 )
2022-02-16 21:45:39 +08:00
Zaida Zhou
27dd617532
[Docs] Add registry tutorial ( #3 )
...
* [Docs] Configure the documentation
* fix the format
* introduce the usage of default_scope
* add Chinese documentation
* move docs configure to another pr
* clean pr
* refactor registry docs
* fix typo
* fix typo
* reorg
* add more examples
* reslove comments
* reslove comments
* reslove comments
Co-authored-by: ZwwWayne <wayne.zw@outlook.com>
2022-02-15 13:12:16 +08:00
Zaida Zhou
e88ae3a2c5
[Docs] Add the structure of the documentation ( #12 )
...
* [Docs] Configure the documentation
* delete mypy.ini
2022-02-12 22:14:15 +08:00