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
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
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
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
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
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