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
Mashiro
8d4885cb43
Bump version to v0.5.0 ( #888 )
...
* 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>
2023-01-20 12:37:13 +08:00
Mashiro
50465a2002
[Docs] Add Chinese documentation for inferencer ( #884 )
...
* [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>
2023-01-16 16:31:11 +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
LEFTeyes
0b59a90a21
[Feature] Support ReduceOnPlateauParamScheduler( #819 )
...
* [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>
2023-01-16 11:39:03 +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
Mashiro
f10b5cefd9
[Docs] Clear the documentations about Python3.6 ( #865 )
2023-01-06 15:40:35 +08:00
yaqi0510
0ae16a9859
[Docs] Translate CN 'train_a_gan' to EN ( #860 )
...
* Doc: update
* update gan
* Doc: update
2023-01-06 11:01:18 +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
6af88783fb
Bump version to v0.4.0 ( #851 )
...
* Bump version to v0.4.0
* minor refine
* minor refine
* add contributor in changelog
2022-12-28 17:29:04 +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
BayMax_BHL
16589ce386
[Feature] Add ProfilerHook ( #768 )
...
* [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>
2022-12-27 18:58:05 +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
bb11f4d392
[Docs] Translate optim_wrapper.md ( #833 )
...
* init
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* update link in the Chinese version
* Update docs/en/tutorials/optim_wrapper.md
* Apply suggestions from code review
* Update docs/en/tutorials/optim_wrapper.md
* merge&remove redundant spaces
* Update docs/en/tutorials/optim_wrapper.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update flat_decay_mult
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@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-22 10:44:23 +08:00
Xiangxu-0103
e1f61252d4
[Docs] fix typo ( #841 )
...
* Update README.md
* Update index.rst
2022-12-20 15:45:15 +08:00
RangiLyu
3582b4c787
[Enhance] Support setting decay multiplier for flatten parameter ( #771 )
...
* [Fix] Fix bias decay mult of depth-wise conv.
* support flatten param weight decay multiplier
* add unit tests
* REMOVE TODO
* update doc
2022-12-16 17:37:22 +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
Zaida Zhou
3987602814
[Docs] Translate the documentation of hook design ( #780 )
...
* [Docs] Translate the docs of hook design
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-12 16:27:16 +08:00
Xin Li
63c9773901
[Docs] Translate save_gpu_memory.md ( #803 )
...
* init
* init
* Update docs/en/examples/save_gpu_memory.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/examples/save_gpu_memory.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/examples/save_gpu_memory.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/examples/save_gpu_memory.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* revise the chinese version on gradiant checkpointing
* Update docs/zh_cn/examples/save_gpu_memory.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-12 15:55:58 +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
Timothy
be0bc3a0ef
[Docs] Fix typos ( #814 )
...
* Update model.md
* Update model.md
* Update model.md
* Update evaluation.md
* Update param_scheduler.md
* Update hook.md
* Fix lint issue
* fix lint issues
Co-authored-by: shanmo <shanmo1412@gmail.com>
2022-12-11 17:12:29 +08:00
Zaida Zhou
7e2d47ba5f
[Docs] Fix failed link in registry ( #811 )
...
* [Docs] Fix failed link in registry
* fix typo
2022-12-10 22:25:31 +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
Range King
bced7d6ef0
[Doc] fix typos in EN contributing.md ( #792 )
2022-12-06 17:39:03 +08:00
zhouzaida
41c60cc3aa
[Docs] Update documentations links in README
2022-12-06 17:22:02 +08:00
RangiLyu
1acdb94d45
[Docs] Translate scheduler tutorial ( #466 )
...
* [Doc] Translate scheduler doc
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/tutorials/param_scheduler.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Mashiro
04714ef6cf
[Docs] Translate migration docs of model ( #728 )
...
* first commit
* Update two column table wrapper
* update two-column table wrapper
* update chinese
* update chinese migrate model with new css
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update model.md
* Update docs/en/migration/model.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Mashiro
af408786a2
[Docs] Translate model tutorial ( #738 )
...
* translate model first time
* Update docs/en/tutorials/model.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Apply suggestions from code review
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
7f11b5d1f0
[Docs] Translate runner tutorial ( #724 )
...
* partially translated the runner tutorial
* more translation done
* finish translation
* minor refine
* minor refine of chinese doc
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* fix as comments
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
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
Qian Zhao
af2788f721
[Docs] Translate logging design ( #719 )
...
* translate logging design
* fix as comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
* fix as comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: liukuikun <24622904+Harold-lkk@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
b142774a42
[Docs] Translate migration guide of Runner ( #720 )
...
* Translate runner
* minor refine
* update two-column table wrapper
* minor refine
* update chinese
* refine chinese runner
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Apply suggestions from code review
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
d7065cdb7e
[Docs] Translate dataset tutorial ( #727 )
...
* translate dataset tutorial
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* fix as comments
* minor refine
* Apply suggestions from code review
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
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
Zaida Zhou
afd66b42b4
[Docs] Translate examples docs ( #715 )
...
* [Docs] Translate examples docs
* Update docs/en/examples/resume_training.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
RangiLyu
6e042dcb6d
[Doc] Translate scheduler migration ( #729 )
...
* [Doc] Translate scheduler migration
* fix
2022-12-06 17:22:02 +08:00
Mashiro
288a7f4abc
[Docs] Update two-column table wrapper ( #726 )
...
* update two-column table wrapper
* update chinese
2022-12-06 17:22:02 +08:00
Mashiro
bfe7d2d467
[Docs] Refactor model.md ( #674 )
...
* Refactor model.md
* minor refine
* Fix as comment
* Fix error link
* Fix as comment
* Fix as comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* replace Dataloader with DataLoader
* minor refine
* resolve conflict
* fix render code block
* Fix error link
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Qian Zhao
6482845671
[Doc] Refactor runner tutorial ( #657 )
...
* refactor runner tutorial
* remove watermark in picture
* fix as comments
* remove toc in runner tutorial
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/zh_cn/tutorials/runner.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-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
Zaida Zhou
32c2c1e3e4
[Docs] Translate hook docs ( #709 )
...
* [Docs] Translate hook docs
* fix indent
* Apply suggestions from code review
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Qian Zhao
daab8e067d
[Doc] Translate runner design ( #710 )
...
* translate runner design
* Update docs/en/design/runner.md
* fix as comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Yining Li
1323251c02
[Doc] Refine evaluation docs ( #701 )
...
* refine evaluation docs
* fix link
* Update docs/zh_cn/design/evaluation.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/zh_cn/tutorials/evaluation.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs/zh_cn/tutorials/evaluation.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* resolve comments
* Apply suggestions from code review
* Update docs/zh_cn/tutorials/evaluation.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
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
Mashiro
9033c70a3e
[Docs] Refine `optim_wrapper.md` ( #676 )
...
* refine optim_wrapper.md
* minor refine
* Minore refine
2022-12-06 17:22:02 +08:00
RangiLyu
66ba4f749d
[Doc] Update scheduler doc ( #670 )
...
* [Doc] Update scheduler doc.
* Update docs/zh_cn/tutorials/param_scheduler.md
* Update docs/zh_cn/tutorials/param_scheduler.md
* Update docs/zh_cn/tutorials/param_scheduler.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-06 17:22:02 +08:00
Qian Zhao
bcbfa20c8b
[Doc] Add dataset & dataloader tutorial ( #696 )
...
* dataset tutorial abstract
* complete dataloader & dataset tutorial
* minor fix
* minor fix
* resolve comments
* rename some link to be more specific
* add warning to manually constructed sampler
* fix as comments
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
Zaida Zhou
fed4a9224b
[Docs] Refine hook docs ( #704 )
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
0dd0a22e75
[Docs] Add gif to 15 min tutorial ( #748 )
...
* add gif
* replace gif
* minor refine
* replace gif with higher resolution
2022-12-04 11:21:40 +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
17624d250e
Bump version to v0.3.2 ( #763 )
...
* Bump version to v0.3.2
* minor refine
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* remove highlights
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-11-24 23:38:26 +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
Mashiro
b35196acd6
Bump version to v0.3.1 ( #706 )
...
* Bump version to v0.3.1
* Bump version to v0.3.1
* Apply suggestions from code review
Fix as comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update pr
* update pr
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-11-09 17:09:51 +08:00
Xiangxu-0103
a530c0d671
[Docs] Refine docs/zh_cn/tutorials ( #694 )
2022-11-09 14:27:45 +08:00
Sanbu
103ad60773
[Docs] Fix typo in docs ( #702 )
2022-11-08 19:09:03 +08:00
Sanbu
ed20a9cba5
[Docs] Fix metric typo ( #675 )
2022-11-06 21:58:47 +08:00
Mashiro
4e685931d0
Bump version to v0.3.0 ( #661 )
...
* Bump version to v0.3.0
* minor refine
* Fix as comment
* Fix as comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-11-02 19:34:03 +08:00
Yanhong Zeng
618a063ddc
[Docs] Fix docstring and documentation used for hub.get_model ( #659 )
...
* fix docstring and documentation used for hub.get_model
* fix config name in test_hub
* fix docstring mentioned faster-rcnn in utils
2022-11-02 10:16:56 +08:00
Shaun
52a79d0ca2
[Docs] Fix typo ( #650 )
2022-10-31 14:51:43 +08:00
Hakjin Lee
0857f9fb40
[Feature] Support torch ZeroRedundancyOptimizer ( #551 )
...
* [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 dd64538960
.
* 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>
2022-10-27 20:31:50 +08:00
Zaida Zhou
9cd071fb5d
[Docs] Add mmengine logo in docs ( #641 )
...
* [Docs] Add mmengine logo in docs
* Remove generated changelog.md
2022-10-26 14:51:25 +08:00
Mashiro
bda92b49e7
[Feature] Add a function to mark the deprecated function. ( #609 )
...
* [Enhancement] Add a deprecated function
* Refine and add ut
* tmp save
* minor refine
* Fix unit test
* Fix unit test
* fix docstring
* Update utils.rst
2022-10-24 14:49:48 +08:00
wangjiangben-hw
601db12d38
[Feature] Support engine with NPU backend. ( #572 )
...
* 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>
2022-10-24 11:42:29 +08:00
Tau
d312bc40b0
[Doc] Refine chinese doc ( #516 )
...
* refine chinese doc
* remove in title
* Update docs/zh_cn/tutorials/param_scheduler.md
* fix link
* remove files from building docs
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: zhouzaida <zhouzaida@163.com>
2022-10-21 19:35:51 +08:00
Xin Li
dc01545e26
[Docs] Translate installation and 15_min ( #629 )
...
* translate installation and 15_min
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/get_started/15_minutes.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
* Update docs/en/get_started/installation.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-10-19 10:51:16 +08:00
Mashiro
6073d9ebd8
[Enhance] add documents for `clip_grad` , and support clip grad by value. ( #513 )
...
* [Enhance] add documents for , and support clip grad by value
* refine docstring
* fix as comment
* Fix as comment
* minor refine
* minor refine
* remove error comment for clip grad
* refine docstring
2022-10-18 18:02:46 +08:00
Qian Zhao
09a195b24c
[Docs] Fix Chinese docs whitespaces ( #521 )
...
* change pre-commit-config
* modify docs with pre-commit hook
* change pre-commit-config-zh-cn
* fallback readme.md
Co-authored-by: HAOCHENYE <21724054@zju.edu.cn>
2022-10-17 14:20:00 +08:00
jason_w
028f4e5919
fix typo ( #616 )
2022-10-16 14:57:23 +08:00
Mashiro
910778a94e
[Docs] Fix cannot show `changelog.md` in chinese documents. ( #606 )
...
* [Fix] Fix error path of changelog.md in docs/zh_cn/index.rsts
* Fix stupid commit
* run bash script during build docs
* run bash script during build docs
* run bash script during build docs
* translate notes to 说明
* update auth
2022-10-14 16:56:34 +08:00
Xiangxu-0103
276ca24edc
[Docs] Fix typo in docs/zh_cn/tutorials/config.md ( #596 )
2022-10-12 15:00:28 +08:00
Qian Zhao
c5bddea13e
[Docs] Fix typo in docs/zh_cn/tutorials/model.md ( #598 )
2022-10-12 14:32:21 +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
Mashiro
62456217f9
[Feature] Add test time augmentation base model. ( #538 )
...
* First commit
* add BaseTestTimeAugModel
* Add unit test
* move loop logic to test_step
* fix ddp test
* rename model to module
* optim __init__
* Fix as comment
* Fix as comment
* make val_step should not be called
* make tta do not inherit base model
* Fix unit test
* Enhance docstring
* Fix as comment
* Fix as comment
* minor refine
* minor refine
* minor refine
* fix unit test
* minor refine
* minor refine
* minor refine
* minor refine
* minor refine
* minor refine
* fix unit test
2022-10-10 14:29:33 +08:00
vansin
1f63d2436c
[Doc] delete the error comment in docs ( #514 )
2022-10-08 11:34:35 +08:00
Zhengfei-0311
4e5c40b51b
[Doc]: Update config.md ( #562 )
...
* Update config.md
* Update config.md
2022-10-08 11:20:52 +08:00
Zaida Zhou
a5eb179153
[Docs] Fix the docstring of model sub-package ( #573 )
2022-10-08 11:19:30 +08:00
Shaun
925f18347a
[Doc]: fix spell error ( #548 )
2022-09-26 14:33:46 +08:00
Zaida Zhou
ed84dfd34d
[Refactor] Refactor fileio without breaking back compatibility ( #533 )
...
* [Refactor] Refactor fileio but without breaking bc
* handle compatibility
* fix format
* modify io functions
* fix ut
* fix ut
* rename method names
* refine
* refine docstring
* fix ut in windows
* update ut
* minor fix
* ensure client is not None when closing it
* add more examples for list_dir_or_file interface
* refine docstring
* refine deprecated info
* fix ut
* add a description for lmdb docstring
2022-09-26 14:30:40 +08:00
Mashiro
8ee31dbc3b
[Feature] Support convert `BN` to `SyncBN` by config ( #506 )
...
* [Feature] Support convert BN to SyncBN by config
* make unit test compatible with cpu
* Fix as comment
* fix unit test
* change signature of convert_sync_batchnorm: rename sync_bn to implemention
* fix unit test
* fix unit test
2022-09-15 18:08:36 +08:00
Zaida Zhou
114fa21522
[Docs] Fix API files of en docs ( #525 )
...
* [Docs] Fix api files of en docs
* minor fix
2022-09-13 14:57:18 +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
古月闻星
58d8a41966
[Fix] MacOS to macOS ( #500 )
2022-09-01 11:16:39 +08:00
古月闻星
00bb73b8e3
[Fix] max_epoch to max_iters ( #503 )
2022-09-01 00:03:23 +08:00
Zaida Zhou
a06bb7782b
[Docs] Add readthedocs.yml ( #501 )
...
* [Docs] Add readthedocs.yml
* include torch in readthedocs.yml
* add torch torchvision in docs.txt
2022-08-31 23:34:25 +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
liukuikun
1fea82aad5
[Docs] update data element tutorials ( #431 )
...
* structure tutorials
* refine data element docs
* modify introduce
* fix comment
* fix comment
* fix comment
2022-08-31 20:39:08 +08:00
Mashiro
5a9ac09f28
[Doc]: Fix docs and docstring of config ( #497 )
2022-08-31 20:01:35 +08:00
Yining Li
5349908e9b
use image without watermark ( #496 )
2022-08-31 20:01:16 +08:00
Mashiro
627186d1a2
[Docs] Migrate model from mmcv ( #473 )
...
* migrate model
* fix title error
* refine as comment
* fix as comment
* minor refine
* Fix as comment
* Update docs/zh_cn/migration/migrate_model_from_mmcv.md
* Update docs/zh_cn/migration/migrate_model_from_mmcv.md
Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-08-31 19:22:21 +08:00
古月闻星
980243018f
[Fix] fix runner docs ( #495 )
...
* [Fix] fix the typo
* [Fix] add the missing argument
2022-08-31 18:59:25 +08:00
Mashiro
68b6b542eb
[Docs] migrate runner from mmcv. ( #457 )
2022-08-30 21:31:02 +08:00
Yifei Yang
63f3afb8a8
[Docs] add an example for gan training ( #453 )
...
* add an example for gan training
* remove data element
* fix as comments
* add type_as
* fix as comment
* refine
* fix as comment
* add more descriptions
* fix as comment
* fix a api
2022-08-30 21:06:35 +08:00
Zaida Zhou
a5284165c6
Add the distributed training script ( #487 )
...
* Add the distributed training script
* fix md format
2022-08-30 19:05:51 +08:00
Mashiro
fbd31d2041
[Docs] Refine config docs. ( #432 )
...
* tmp commit
* refine docstring
* minor refine
* fix as comment
* add tutorial for merge_from_dict
* minor refine
* minor refine
* export md by jupyter
* temp add ipnb
* refine the docs
* remote ipynb
* fix as comment
* add change _base_.variable
* Fix as comment
* minor refine
* Fix as comment
* Fix as comment
* minor refine
2022-08-30 18:39:19 +08:00
Mashiro
260d332a8e
[Docs] Add model docs ( #416 )
...
* first commit
* tmp commit
* tmp commit
* tmp
* finish base module
* tmp commit
* tmp commit
* first finish
* minor refine
* clean the code
* delete design
* refine
* minor refine
* fix as comment
* fix as comment
* refine from jupyter notebook
* minor refine
* split model.md to model.md and initialize.md
* minor refine
* minor refine
* make link availiable
* fix as chengqi comment
* fix as chengqi comment
* fix link
* fix as wenwei comment
* Fix as comment
* Fix as comment
* Fix lint
2022-08-30 18:36:20 +08:00
Ma Zerun
7a75d6d582
[Docs] Add data transform tutorials ( #455 )
...
* [Docs] Add data transform tutorials
* Rename `RandomMultiscaleResize` to `RandomChocieResize`.
* Imporve according to comments
* Add general data pipeline description.
2022-08-30 18:32:51 +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
Mashiro
9728b6aaef
[Docs] Simpify logging tutorials ( #452 )
...
* simpify logging tutorials
* minor refine
* minor refine
* refine index.rst
* fix as comment
* add description of by_epoch
* add log processor description
* minor refine
* minor refine
* Fix as comment
* Fix as comment
2022-08-30 16:22:15 +08:00
Zaida Zhou
15905bdcc0
[Docs] Describe how to migrate hook from mmcv ( #451 )
...
* Add a doc to explain how to migrate hook from mmcv
* update style
* update format
* Add functional changes of hooks
* fix table style
* refine
* fix typo
2022-08-30 15:07:06 +08:00
yancong
7e423cf23f
[Docs] Add fileio tutorials ( #420 )
...
* docs(zh_cn/tutorials): add fileio tutorials
* Update docs/zh_cn/tutorials/fileio.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-08-29 22:58:49 +08:00
Wencheng Wu
f2df9efefb
[Fix] Fix typo in docs. ( #485 )
2022-08-29 22:39:42 +08:00
Ma Zerun
d6aa85fb36
[Docs] Add data transform migration docs ( #460 )
...
* [Docs] Add data transform migration docs
* Imporve according to comments
2022-08-29 22:39:19 +08:00
RangiLyu
58229636b5
[Docs] Cross library import examples. ( #461 )
...
* [Docs] cross library import examples.
* update
* resolve comments
2022-08-29 22:37:51 +08:00
Yining Li
0bb9591f07
[Docs] refine metric/evaluator docs ( #442 )
...
* refine metric/evaluator doc
* resolve comments
* resolve comments
2022-08-29 16:23:24 +08:00
Ma Zerun
89b56b240a
[Doc]: Add mmengine demo and do some modifications for it. ( #363 )
...
* Update demo in get started tutorial
* Update demo tutorial
* Refactor the pytorch demo
* Add outline and titles to the demo tutorial.
* Move file and change title
* Add shuffle in dataloader arguments.
* Improve according to comments
2022-08-29 16:19:11 +08:00
Wenwei Zhang
4be57e5ebb
[Doc]: Add introduction of mmengine in get_started.md ( #481 )
...
* add introduction of mmengine in get_started.md
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* update figs
2022-08-29 16:17:59 +08:00
Zaida Zhou
2f09342663
[Docs] Refine registry docs ( #443 )
...
* [Docs] Refine registry docs
* explain how to use _scope_
* refine
2022-08-29 14:50:48 +08:00
Zaida Zhou
dcab0f5055
[Docs] Add resume training examples ( #407 )
...
* [Docs] Add resume training examples
* refine
* rename filename
* minor refinement
* fix comments
* resolve comments
* resolve comments
2022-08-29 14:47:31 +08:00
Mashiro
d68fd5a654
[Docs] Add docs for `OptimWrapper` ( #411 )
...
* add optimizer wrapper docs
* remove optimizer.md
* minor refine
* Fix as comment
* minor refine
* tmp save ipynb
* add default constructor docs
* remove ipynb
* fix as comment
* remove color charactor
* fix as comment
2022-08-28 17:11:58 +08:00
Tao Gong
54e7812926
[Doc]: Explain the priority of dataset.metainfo in basedataset.md ( #476 )
...
* Update basedataset.md
* Update basedataset.md
* Update basedataset.md
* Update basedataset.md
* Slight rephrase
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
2022-08-26 16:34:04 +08:00
RangiLyu
18a0338c91
[Docs] How to migrate scheduler. ( #456 )
...
* [Doc] Migrate scheduler.
* [Doc] Migrate scheduler.
* update
* resolve comments
* resolve comments
2022-08-26 11:35:33 +08:00
Haian Huang(深度眸)
4bd00bc85c
[Docs] Add visualizer docs ( #418 )
...
* Add Visualizer tutorials
* Add Visualizer designs
* update
* update
* update
* fix commit
* add demo image
* simplify code according to #440 and add some results picture
* replace image url
* update
Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-26 10:01:04 +08:00
Mashiro
8770c6c7fc
[Refactor] Refactor data flow to make the interface more natural ( #468 )
...
* [Refactor]: modify interface of Visualizer.add_datasample (#365 )
* [Refactor] Refactor data flow: refine `data_preprocessor`. (#359 )
* refine data_preprocessor
* remove unused BATCH_DATA alias
* Fix type hints
* rename move_data to cast_data
* [Refactor] Refactor data flow: collate data in `collate_fn` of `DataLoader` (#323 )
* acollate data in dataloader
* fix docstring
* refine comment
* fix as comment
* refactor default collate and psedo collate
* foramt test file
* fix docstring
* fix as comment
* rename elem to data_item
* minor fix
* fix as comment
* [Refactor] Refactor data flow: `data_batch` argument of `Evaluator.process is a `dict` (#360 )
* refine evaluator and metric
* compatible with new default collate
* replace default collate with pseudo
* Handle data_batch in metric
* fix unit test
* fix unit test
* fix unit test
* minor refine
* make data_batch optional
make data_batch optional
* rename outputs to predictions
* fix ut
* rename predictions to outputs
* fix docstring
* fix docstring
* fix unit test
* make outputs and data_batch to kwargs
* fix unit test
* keep signature of metric
* fix ut
* rename pred_sample arguments to data_sample(Visualizer)
* fix loop and ut
* [refactor]: Refactor model dataflow (#398 )
* [Refactor] Refactor data flow: refine `data_preprocessor`. (#359 )
* refine data_preprocessor
* remove unused BATCH_DATA alias
* Fix type hints
* rename move_data to cast_data
* refactor model data flow
tmp_commt
tmp commit
* make val_cfg and test_cfg optional
* roll back runner
* pass test mmdet
* fix as comment
fix as comment
fix ci in DataPreprocessor
* fix ut
* fix ut
* fix rebase main
* [Fix]: Fix test val ddp (#462 )
* [Fix] Fix docstring and type hint of data flow (#463 )
* Fix docstring of data flow
* change signature of hook
* fix unit test
* resolve conflicts
* fix lint
2022-08-24 22:04:55 +08:00
Zaida Zhou
7e1d7af2d9
[Refactor] Refactor code structure ( #395 )
...
* Rename data to structure
* adjust the way to import module
* adjust the way to import module
* rename Structure to Data Structures in docs api
* rename structure to structures
* support using some modules of mmengine without torch
* fix circleci config
* fix circleci config
* fix registry ut
* minor fix
* move init method from model/utils to model/weight_init.py
* move init method from model/utils to model/weight_init.py
* move sync_bn to model
* move functions depending on torch to dl_utils
* format import
* fix logging ut
* add weight init in model/__init__.py
* move get_config and get_model to mmengine/hub
* move log_processor.py to mmengine/runner
* fix ut
* Add TimeCounter in dl_utils/__init__.py
2022-08-24 19:14:07 +08:00
Zaida Zhou
6c607bd26f
[Docs] Simplify hook docs ( #428 )
...
* Move the design of hook to design/hook.md
* add relative links in docs
* update docstring of hooks
* refine checkpointhook docs
* refine
* fix comments
* refine
* add logging.md link in hook.md
* resolve comments
* fix typo
2022-08-23 16:20:47 +08:00
Zaida Zhou
5e17dd7cd4
[Docs] Add speed training examples ( #408 )
...
* [Docs] Add speed training examples
* refine
* refine
* rename filename
* minor refine
2022-08-23 11:55:18 +08:00
Tao Gong
7fc0a51aae
[Doc]: Update the tutorials of basedataset ( #445 )
...
* modify the tutorials of basedataset
* tmp commit
2022-08-23 11:54:38 +08:00
Haian Huang(深度眸)
ca282aee9e
[Doc]: add save_gpu_memory docs ( #419 )
...
* Add save_gpu_memory docs
* update
* fix comment
* fix comment
2022-08-22 18:10:28 +08:00
RangiLyu
5e1ef1dd6c
[Docs] Update runner documents. ( #430 )
...
* [Doc] Update runner documents.
* update
* fix link
* update
* update
* Update import manner of Runner
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
2022-08-22 11:30:49 +08:00
yancong
d6bf587d68
[Docs] Modify distributed tutorials ( #421 )
...
* docs: modify distributed tutorials
* docs: modify distributed tutorials
* docs(zh_cn/tutorials): fix wrong modifications in distributed.md
2022-08-21 14:58:25 +08:00
RangiLyu
38ab4bec5e
[Docs] Update scheduler doc. ( #439 )
...
* [Docs] Update scheduler doc.
* update
2022-08-19 11:09:57 +08:00
Zaida Zhou
10330cde9d
[Docs] Add installation docs ( #406 )
...
* Add installation docs
* fix typo
2022-08-19 10:48:45 +08:00
Zaida Zhou
f5cb45dc33
[Doc]: fix typo in installation command ( #433 )
2022-08-16 15:42:27 +08:00
Zaida Zhou
26342f3586
[Docs] Add the steps to build docs ( #409 )
2022-08-15 11:47:08 +08:00
Zaida Zhou
6501d21eab
[Fix]: fix mdformat version to support python3.6 ( #315 )
2022-06-21 16:32:58 +08:00
Zaida Zhou
e76517c63a
[Doc]: Update hooks docs ( #317 )
2022-06-21 15:13:53 +08:00
Zaida Zhou
d09af9ead4
[Doc]: update root registries in docs ( #316 )
2022-06-21 15:12:49 +08:00
Tao Gong
45f5859b50
[Doc]: refactor docs for basedataset ( #318 )
2022-06-21 14:58:10 +08:00
Mashiro
44538e56c5
[Doc]: refine logging doc ( #320 )
2022-06-21 14:55:21 +08:00
Alex Yang
5016332588
[Feat] support registering function ( #302 )
2022-06-14 14:50:24 +08:00
RangiLyu
70c4ea191f
[Refactor]: Modify val_interval and val_begin to be the attributes of TrainLoop. ( #274 )
...
* Modify val_interval and val_begin to be the attributes of TrainLoop.
* update doc
* fix lint
* type hint
2022-06-06 11:13:25 +08:00
RangiLyu
4705e1fe3d
[Enhance] Add RuntimeInfoHook to update runtime information. ( #254 )
...
* [Enhance] Add RuntimeInfoHook to update runtime information.
* move lr to runtime info
* docstring
* resolve comments
* update ut and doc
2022-05-26 14:35:37 +08:00
Haian Huang(深度眸)
c197bdf359
[Feature] Profiling tools ( #241 )
...
* Add profiling tools
* fix docstr
* fix docstr
* update
* fix bug
* update
* update
* fix error
* fix mypy
* uodate
* merge main
* fix UT
2022-05-25 10:55:07 +08:00
Jiazhen Wang
a976257ca9
[Enhance] Support Custom LogProcessor ( #251 )
...
* support custom log processor
* supplementary docs
* format code
2022-05-24 17:17:35 +08:00
RangiLyu
11688507ba
[Fix] Fix some bugs in hooks and runner. ( #242 )
...
* [Fix] Fix some bugs in hooks and runner.
* fix markdown
* fix latex formula
* resolve comments
2022-05-20 17:18:24 +08:00
Zaida Zhou
86ffc19c9c
Add pyupgrade pre-commit hook ( #232 )
...
* Add pyupgrade pre-commit hook
* fix ut
* remove comments
2022-05-19 17:56:31 +08:00
Zaida Zhou
f5867f8442
Replace markdownlint with mdformat to avoid installing ruby ( #233 )
...
* Replace markdownlint with mdformat to avoid installing ruby
* fix circleci
2022-05-17 20:52:22 +08:00
Tao Gong
92b94e8e60
[Docs] Add docs for custom dataset wrapper ( #222 )
...
* add docs for custom dataset wrapper
* Update basedataset.md
2022-05-10 15:14:39 +08:00
Mashiro
452b3656a1
[Fix] Fix dump config without self.filename ( #202 )
...
* fix config
* add docstring and unit test
* update tutorial
* update tutorial
* fix markdown format
* fix markdown format
2022-04-27 19:43:12 +08:00