Mashiro
478c952a6d
[Refacor] Replace 'if base' with 'with read_base' context manager ( #1207 )
2023-06-25 13:53:19 +08:00
Mashiro
6ece63ed35
[Feature] Support Pure Python style Configuration File ( #1071 )
2023-06-16 12:52:07 +08:00
Xin Li
d59acfbd9f
[Docs] Translate data_element.md ( #1067 )
2023-05-23 12:59:29 +08:00
Mashiro
1c01594c5c
[Docs] Update links ( #1108 )
2023-04-25 18:51:11 +08:00
Zaida Zhou
43165160e6
[Docs] Replace MMCls with MMPretrain in docs ( #1096 )
...
* [Docs] Replace MMCls with MMPretrain in docs
* fix format
2023-04-23 15:29:43 +08:00
Evan
f356b3c207
[Docs] Minor fixes in docs to remove or replace unicode chars with ascii chars ( #1018 )
...
* Remove CN comments in EN docs code
* Replace some full-width unicode chars with half-width ascii chars
2023-03-26 13:59:26 +08:00
Zaida Zhou
60872c38d4
fix lint ( #993 )
2023-03-13 14:46:59 +08:00
Yijie Zheng
330985d6c1
[Docs] Translate "Model Complexity Analysis" to Chinese ( #969 )
...
* [Doc] Translate model complexity analysis into Chinese.
* [Doc] Translate model complexity analysis into Chinese.
* [Docs] fix the description of the interface
* update introduction
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update description of FLOPs
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update activation
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update model description
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Beautify code style
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Modify examples
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Upadate output description
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Replace FLOPs with flop; fix typo
* Fix typo
* fix lint error
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/advanced_tutorials/model_analysis.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update model_analysis.md
* Update model_analysis.md
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
---------
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-03-13 14:31:06 +08:00
Mashiro
44f30f649e
[Enhancement] Add `FUNCTIONS` root Registry ( #983 )
...
* [Enhancement] Add FUNCTIONS Registry
* Refine as comment
* clean the code
2023-03-08 12:53:24 +08:00
Zaida Zhou
4861f034a7
[Docs] Count FLOPs and parameters ( #939 )
...
* [Docs] Count FLOPs and parameters
* add the doc to index.rst
* fix table in HTML
* fix
* fix
* fix indent
* refine
2023-02-21 21:16:18 +08:00
Zaida Zhou
fd7917a7da
Refine the style of table ( #941 )
...
* Refine the style of table
* refine
2023-02-20 20:12:37 +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
Qian Zhao
30fe410b17
[Docs] Temporarily skip errors in building pdf docs at readthedocs ( #928 )
...
* temporarily skip readthedocs errors in building pdf docs
* fix error links
* remove useless links
* fix
* fix broken links as github url
* Update docs/zh_cn/notes/contributing.md
---------
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-02-14 16:55:35 +08:00
Qian Zhao
c712070c90
[Docs] Resolve warnings in sphinx build ( #915 )
...
* 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
2023-02-08 20:36:57 +08:00
Zaida Zhou
d415136b1e
[Docs] Refine the format of changelog and visualization document ( #906 )
...
* [Docs] Fix format of changelog
* refactor the indent of code in docs
2023-02-06 00:41:25 +08:00
Alexander Pacha
1aa14b45a0
[Enhancement] Enable timeout in dist training ( #877 )
...
* 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>
2023-02-03 15:40:39 +08:00
jbwang1997
c46f891a97
[Enhance] Substitute the environment variable in config file ( #744 )
...
* 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
2023-02-01 10:16:47 +08:00
Xiangxu-0103
2402fb158f
[Docs] Refine fileio.md ( #869 )
...
* Create fileio.md
* Update fileio.md
* Update fileio.md
* fix minor comments
* Update fileio.md
2023-01-13 10:24:27 +08:00
Mashiro
925ac870e2
[Fix] Unloaded weights will not be initialized when using PretrainedIinit ( #764 )
...
* 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
2023-01-09 18:46:30 +08:00
Range King
4da5c621d7
[Docs] Fix typos in advanced_tutorials/logging.md ( #861 )
...
* fix typos in zh_cn `logging.md`
* fix typos in en `logging.md`
* Update logging.md
2023-01-04 10:57:51 +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
RangiLyu
e83ac944b6
[Feature] Registry supports import modules automatically. ( #643 )
...
* [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
2022-12-23 15:46:29 +08:00
Mashiro
60492f4df7
[Fix] Fix the table format in initialized.md ( #844 )
2022-12-23 15:39:48 +08:00
Mashiro
7af68d1b5e
[Docs] Fix a link error in initialization tutorial ( #843 )
2022-12-23 12:17:08 +08:00
Xin Li
8026b20e68
[Docs] Translate registry.md ( #817 )
...
* translate init
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* update link in the chinese version
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/registry.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-13 15:59:04 +08:00
Timothy
f1152c8877
[Docs] Fix wrong links and typos in doc ( #815 )
...
* update link
* fix typos
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-12 15:38:58 +08:00
Zaida Zhou
65eb39bfc6
[Docs] Fix docstring format and rescale the image ( #802 )
2022-12-08 14:29:27 +08:00
Mashiro
491d71c0ef
[Docs] Replace markdown table with html table ( #800 )
2022-12-07 22:36:16 +08:00
Ma Zerun
6a3028c0ab
[Docs] Translate data transform docs. ( #737 )
...
* [Docs] Translate data transform tutorial and migration docs.
* Update according to comments
* Update image link
2022-12-07 11:42:24 +08:00
Ma Zerun
fe26c6559e
[Enhance] Support multiple `--cfg-options`. ( #759 )
2022-12-07 10:44:25 +08:00
zhouzaida
41c60cc3aa
[Docs] Update documentations links in README
2022-12-06 17:22:02 +08:00
Mashiro
88fd959d68
[Docs] Translate config tutorial ( #689 )
...
* First commit
* Fix as comment
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* add content in Predefined fields~
* add content in Predefined fields~
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
yancong
9abf5e04c9
[Docs] Translate fileio doc ( #753 )
...
* translate the fileio doc
* Update docs/en/advanced_tutorials/fileio.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/fileio.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Mashiro
e4cf5fda10
[Docs] translate initialize docs ( #687 )
...
* translate initialize
* Fix as comment
* minor refine
* Fix as comment
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +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
Mashiro
11ae76ae3e
[Docs] Translate logging docs ( #697 )
...
* Translate logging
* Minor refine
* Fix as comment
* Apply suggestions from code review
* Update logging.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Qian Zhao
ee75ad4396
[Docs] Translate distributed documentation ( #712 )
2022-12-06 17:22:02 +08:00
RangiLyu
134b63c363
[Doc] Add cross library en doc ( #703 )
...
* [Doc] Add cross library en doc.
* fix
* fix
* Apply suggestions from code review
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
Xin Li
d837fc1ca7
[Docs] Visualization docs translate ( #692 )
2022-11-18 10:45:15 +08:00
Tao Gong
f9158e233e
[Docs] Add English docs of BaseDataset ( #713 )
...
* add chinese docs of BaseDataset
* fix typo
* fix lint
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/advanced_tutorials/basedataset.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update basedataset.md
* Update basedataset.md
* Update basedataset.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-11-15 20:20:46 +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