434 Commits

Author SHA1 Message Date
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
aaba1d8871
[Fix] Fix error format of log message (#508)
* Fix error format of log message

* Fix unit test

* remove unnecessary comment
2022-10-18 18:04:15 +08:00
Mashiro
abe56651db
[Fix] Make autocast compatible with mps (#587)
* [Fix] Make autocast compatible with mps

* Enhance unit test

* fix unit test

* clean the code

* fix unit test
2022-10-18 18:03:17 +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
jbwang1997
4111cfb511
[FIx] Fix the total number of iterations in log is a float number. (#604)
* Update

* Ensure max_iters being integer number
2022-10-18 18:02:12 +08:00
Mashiro
51ac3a204c
[CI] Fix pip upgrade CI (#622)
* try to fix

* Add comments

* Refine grammar
2022-10-18 18:00:51 +08:00
shenmishajing
c2982723c9
[Feats]: add non_blocking feature to BaseDataPreprocessor (#618)
* add non_blocking feature to BaseDataPreprocessor

* Update mmengine/model/base_model/data_preprocessor.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* move new parameters to the last to avoid bc issue

* Update mmengine/model/base_model/data_preprocessor.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update mmengine/model/base_model/data_preprocessor.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-10-18 17:58:51 +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
Zaida Zhou
a6e12590b8
Add issue or pr assignees (#608) 2022-10-15 14:37:04 +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
Mashiro
bc37c838d4
Add CODEOWNERS file to assign reviewers automactically (#605)
* [Enhancement] Add CODEOWNERS file for auto assigning reviewer

* minor refine

* minor refine

* Apply suggestions from code review

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-10-13 18:51:28 +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
v0.2.0
2022-10-11 23:08:17 +08:00
Mashiro
2df5bc137b
[Fix] Fix base tta model (#593)
Co-authored-by: ubuntu <ubuntu@localhost.localdomain>
2022-10-11 09:49:50 +08:00
whcao
46add351fe
[Fis] Set _is_init to True when pretrained is True (#555)
* set _is_init to True when pretrained is True

* fix comments
2022-10-10 17:31:43 +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
Mashiro
b5fd38ab8c
[Enhance]: make total loss at the end of all losses (#369) 2022-10-09 15:37:59 +08:00
Xin Li
8f91cf0be8 [Doc]: revise docs (#547)
* revise docs

* Update README.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-10-08 19:56:11 +08:00
Yanyi Liu
ccb32c7e31
[Fix] fix loss smooth when loss name doesn't start with loss (#539)
* fix loss mean

* update
2022-10-08 19:53:05 +08:00
Younghwan Na
da38b4113d
Fix typo in FSDP (#569) 2022-10-08 19:51:07 +08:00
Austin Welch
8864bd88d7
[Feats]: Add smddp dist backend option (#579)
* Add smddp dist backend option

* [Dev]: Upgrade pre commit hooks (#576)

* Upgrade the versions of pre-commit-hooks

* update zh-cn.yaml

* [Docs] Fix the docstring of model sub-package (#573)

* [Doc]: Update config.md (#562)

* Update config.md

* Update config.md

* [Doc] delete the error comment  in docs (#514)

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zhengfei-0311 <78833899+Zhengfei-0311@users.noreply.github.com>
Co-authored-by: vansin <msnode@163.com>
2022-10-08 19:50:32 +08:00
Qian Zhao
e73c4bf135
[Fix] some out-of-date unittests (#586)
* fix dist ut

* fix config & hub ut break due to mmdet faster-rcnn rename
2022-10-08 19:48:51 +08:00
Mashiro
89146a5b90
[Fix] Fix detect_anomalous_params (#588) 2022-10-08 19:48:35 +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
Zaida Zhou
26e5462447
[Dev]: Upgrade pre commit hooks (#576)
* Upgrade the versions of pre-commit-hooks

* update zh-cn.yaml
2022-10-08 10:31:19 +08:00
Hakjin Lee
36af1f0fee
[Fix]: use get instead of pop to get runner_type (#549) 2022-09-26 14:39:06 +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
8d14eb6546
[Fix] Support compare numpy array dataset meta (#511)
* [Fix] Support compare numpy array dataset meta

* Add comment
2022-09-22 14:11:00 +08:00
Mashiro
2e99ea3821
[Fix]: Fix _save_to_state_dict (#542) 2022-09-22 14:10:35 +08:00
Qian Zhao
c64243aa9e
[Fix] CheckpointHook behavior incorrect if given filename_tmpl argument (#518) 2022-09-22 12:47:45 +08:00
jason_w
e56b1736c1
[Enhancement]: Remove unnecessary "if statement" (#536)
Remove unnecessary "if statement".
2022-09-19 00:14:18 +08:00
Mashiro
5d7527d75e
[Fix ] Fix unit test could may fail caused by MultiProcessTestCase (#535)
* fix merge ci

* make timeout larger

* tmp test merge

* debug

* sleep 1 in optimizer ut

* skip test clip grad

* skip test clip grad

* fix merge ci
2022-09-15 18:08:56 +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
Mashiro
ca0364bbc3
[Fix] Fix merge ci & multiprocessing unit test (#529)
* fix merge ci

* make timeout larger
2022-09-14 09:49:23 +08:00
wxDai
7520210314
[Doc]: fix typo in instance_data.py (#530) 2022-09-14 09:48:32 +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
MengzhangLI
c1178fad8f
[Doc] Fix typo in docstring (#527) 2022-09-13 14:55:59 +08:00
Mashiro
6b1b8a3751
[Fix] Fix unit test in windows (#515) 2022-09-13 11:46:21 +08:00
Mashiro
0fb2b8ca8c
[Fix] Fix circle import in EMAHook (#523) 2022-09-09 19:33:27 +08:00
RangiLyu
3ba50ce137
[Enhance] Use torch.lerp_() to speed up EMA. (#519) 2022-09-09 11:44:58 +08:00
Mashiro
9bbbd7dc41
[Fix] Fix error argument sequence in fsdp (#520) 2022-09-09 11:42:30 +08:00
takuoko
a6f5297727
[fix] EMAHook load state dict (#507)
* fix ema load_state_dict

* fix ema load_state_dict

* fix for test

* fix by review

* fix resume and keys
2022-09-09 11:41:12 +08:00
takuoko
cfb884c180
[Enhancement] update docstring of wandb define_metric (#509)
* wandb define_metric

* fix docs

* add wandb docs link
2022-09-07 20:27:53 +08:00
Zaida Zhou
ac5e79c6ab
[Feature]: Add dockerfile (#347)
* Add dockerfile

* update README

* resolve comments

* Remove unnecessary commands

* Simplify the dockerfile

* enable to specific mmengine version

* Update README.md

* revert
2022-09-07 20:26:17 +08:00
takuoko
34bd3e535e
[BugFix] wandb image (#510)
* bugfix wandb image

* del judged

* use self._wandb
2022-09-07 20:24:29 +08:00