Commit Graph

103 Commits (6468d3150a0a02c212bd1515b9b52f9a74a95f94)

Author SHA1 Message Date
Miao Zheng b732fae265
Upgrade pre commit hooks (#2154)
* Upgrade pre commit hooks

* fix lint
2022-10-08 12:04:24 +08:00
MengzhangLI c8eb30329c
[Fix] Fix typo in visualization.md (#2116) 2022-09-29 19:30:53 +08:00
谢昕辰 5d1faeabf0
[Doc] Update add module doc (#2067)
* develop segmentor and remove custom optim

* update segmentor example

* add data preprocessor

* refine intro
2022-09-29 16:42:19 +08:00
MengzhangLI 89f6647d1f [Doc] Updata transforms Doc 2022-09-19 17:57:41 +08:00
谢昕辰 230246f557
[Refactor] Add pyupgrade pre-commit hook (#2078)
* add pyupgrade hook

* run pyupgrade precommit hook
2022-09-19 14:06:29 +08:00
Miao Zheng eef38883c8
[Docs] Add Overview (#2042)
* [Docs] Add Overview

* comments

* refine

* refine
2022-09-16 18:51:56 +08:00
MengzhangLI bff8a98d81
[Doc] Update Data Preparation and Visualization doc (#2054)
* [Doc] Update Data Preparation and Visualization doc

* upload visualization figure example

* fix

* fix

* delete demo image

* remove segvisualizer

* fix

* fix

* fix
2022-09-14 22:27:12 +08:00
Miao Zheng 87a1d32221
Add changelog for MMSeg 1.0.0rc0 (#2007)
* Bump 1.0.0rc0

* rephase

* rephase
2022-09-01 00:19:51 +08:00
Miao Zheng 8f5dcc8579
[Fix] README for mmseg 1.x (#2009)
* [Fix] README for mmseg 1.x

* typo

* link and refine
2022-09-01 00:03:51 +08:00
Miao Zheng 309528de8d
[Refactor] Refine documentation (#1993)
* [WIP] Refine documentation

* get started done

* config refine

* train_test

* refine user guides

* add contribution

* add contribution

* refine visualization

* advanced tutorial

* advanced guides

* tricks

* refine zh doc

* refactor changelog
2022-08-31 20:54:15 +08:00
谢昕辰 ae5c13e927
[Refactor] Inference and train tutorials for 1.x (#1952)
* inference, train_test tutorial

* fix

* add --work-dir
2022-08-29 19:47:03 +08:00
谢昕辰 99a8f59b70
visual tutorial (#1984) 2022-08-29 19:45:30 +08:00
谢昕辰 cc240ce551
[Refactor] Add transform tutorial for dev-1.x (#1985)
* transform tutorial

* fix
2022-08-29 18:21:22 +08:00
Miao Zheng c5bcf9991b
[Fix] batch size for citys in cfg file name (#1977) 2022-08-26 20:49:43 +08:00
谢昕辰 c93210262a
[Refactor] Config tutorial for 1.x (#1951)
* config tutorial

* update config name convention

* minor change

* rewrite name
2022-08-24 15:54:49 +08:00
谢昕辰 179e128e0e
transform tutorial (#1953) 2022-08-23 14:19:11 +08:00
谢昕辰 8f2c657de8 [Refactor] Dataset tutorial for 1.x (#1932)
* modify scripts dirname

* update links
2022-08-19 20:50:03 +08:00
Miao Zheng 45b63c584f [Doc] MMSeg 1.x Documentation (#1924)
* [Doc] MMSeg 1.x Documentation

* revise index
2022-08-19 20:50:03 +08:00
谢昕辰 94481d52f1 [Doc] Update API doc (#1888)
* update api doc

* fix

* fix
2022-08-19 20:50:02 +08:00
xiexinch c1c870af31 rename init/inference_segmentor to init/inference_model 2022-07-12 16:19:59 +08:00
xiexinch 28a3d89b7a Update pre-commit yaml and md2yml.py 2022-07-05 15:58:48 +08:00
zhengmiao 478da81c8b [Fix] Optimizer-> OptimWrapper 2022-06-02 05:19:36 +00:00
Miao Zheng df70f55639 [Doc] Add explanation and usage instructions for data configuration (#1548)
* [WIP] Data configuration

* [Doc] Add data configuration

* version info

* grammar

* typo

* typo

* format

* fix based on comments

* grammar

* comments
2022-05-06 15:25:05 +08:00
MengzhangLI 7f1a72ac42 Bump version to v0.24.1 (#1541)
* Bump version to v0.24.1

* version.py

* changelog.md
2022-05-01 14:06:04 +08:00
Miao Zheng f33b7cafc8 Bump version to v0.24.0 (#1533)
* [WIP] Bump version to v0.24.0

* changelog

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* Update docs/en/changelog.md

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* words

* typo

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-29 22:23:02 +08:00
MengzhangLI e9bfabe434 [Doc] Add more clearly statement of CPU training/inference (#1518)
* [Doc] Add more clearly statement of CPU training/inference

* Update docs/en/inference.md

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-29 16:41:32 +08:00
Miao Zheng 464ebab53e [Enhancement] MMCV maximum_version set to 1.6 (#1480)
* [Enhancement] MMCV maximum_version set to 1.6

* [Enhancement] MMCV maximum_version set to 1.6
2022-04-19 16:19:56 +08:00
AmirMasoud Nourollah cc202a1664 Updating Dockerfiles From Docker Directory and get_started.md to Reach Last Stable Version of Python, PyTorch and MMCV (#1446)
* Update Dockerfile

Compatible with the latest version of MMCV and PyTorch for compatibility with Python3.10

* Update Dockerfile for serve

Compatible with the latest version of MMCV and PyTorch for compatibility with Python3.10

* Updating to the last version of supported Python

* Update Dockerfile

* Update get_started.md

* Update docs/zh_cn/get_started.md

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-04 20:16:50 +08:00
kahkeng 1a7c045867 [Docs] Fix typo (#1447)
* Fix small typo in documentation title

* Fix typo in documentation title (zh_cn version)
2022-04-04 15:02:52 +08:00
Miao Zheng bf745ca09c Bump version to v0.23.0 (#1439)
* Bump version to v0.23.0

* new contributor

* rephrase

* tyoi

* typo

* get_started

* typo

* rephrase

* rephrase

* rephrase
2022-04-01 15:43:19 +08:00
MengzhangLI cc89c8d18d [Fix] Add avg_non_ignore in cross entropy loss (#1409)
* [Fix] Add avg_non_ignore in cross entropy loss

* [Fix] Add avg_non_ignore in cross entropy loss

* add docstring

* fix ut

* fix docstring and comments

* fix

* fix bce

* fix avg_factor in BCE and add more ut

* add avg_non_ignore

* add more ut

* fix part of ut

* fix part of ut

* test avg_non_ignore would not affect ce/bce when reduction none/sum

* test avg_non_ignore would not affect ce/bce when reduction none/sum/mean

* re-organize ut

* re-organize ut

* re-organize ut

* re-organize hardcode case

* fix parts of comments

* fix another parts of comments

* fix
2022-03-30 18:32:47 +08:00
Rockey 41d5c13df1 [Docs] add faq document (#1420)
* [Docs] add faq document

* Update docs/en/faq.md

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* Update docs/zh_cn/faq.md

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* modify readme

* modify index.rst

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2022-03-28 16:50:41 +08:00
Rockey 6701c34db8 [Fix] fix the config name style description (#1414) 2022-03-24 14:57:20 +08:00
FangjianLin 415b20febd [Feature] Add multi machine `dist_train`. (#1383)
* Add training startup documentation

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-03-18 10:55:49 +08:00
andife 98b8ed37e4 [Doc] Update config.md (#1363)
Fix typos
2022-03-10 09:29:40 +08:00
MengzhangLI 6b05790429 Bump v0.22.1 (#1361) 2022-03-09 20:05:44 +08:00
Miao Zheng 96a600ba01 [Docs] fix typo in changelog (#1349) 2022-03-05 09:59:14 +08:00
MengzhangLI 67e0f9dd15 Bump v0.22.0 (#1347)
* change version to v0.22.0

* change version to v0.22.0

* add mmcls version in get_started.md

* add mmcls installation and move PR1299 into enhancement

* add mmcls installation and move PR1299 into enhancement

* remove MMCLS and make mmcv <=1.5.0 version in get_started.md

* fix typo
2022-03-04 22:17:29 +08:00
Hyeokjoon Kwon 6d124aa091 [Feature] Generating and plotting confusion matrix (#1301)
* generate and plot confusion matrix

* fix typo

* add usage and examples for confusion matrix

* deal with nan values(pick pr#7147 mmdet)

* fix md format
2022-03-03 16:34:33 +08:00
MengzhangLI 6965f718e9 [Fix] Fix iSAID dataset conversion default setting in doc. (#1298) 2022-02-17 20:05:53 +08:00
Waterman0524 a93423e1fd [Feature] Support iSAID aerial dataset. (#1115)
* support iSAID aerial dataset

* Update and rename docs/dataset_prepare.md to 博士/dataset_prepare.md

* Update dataset_prepare.md

* fix typo

* fix typo

* fix typo

* remove imgviz

* fix wrong order in annotation name

* upload models&logs

* upload models&logs

* add load_annotations

* fix unittest coverage

* fix unittest coverage

* fix correct crop size in config

* fix iSAID unit test

* fix iSAID unit test

* fix typos

* fix wrong crop size in readme

* use smaller figure as test data

* add smaller dataset in test data

* add blank in docs

* use 0 bytes pseudo data

* add footnote and comments for crop size

* change iSAID to isaid and add default value in it

* change iSAID to isaid in _base_

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-02-17 19:07:32 +08:00
Luming Tang 58c02dd169 Update get_started.md (#1290)
fix wrong file format. it should be png instead of jpg
2022-02-15 22:28:23 +08:00
MengzhangLI 8e8cb06f52 [Enhancement] Update the installation of MMCV (#1275)
* Update the installation of MMCV

* use matrix.torch_version

* fix typo in doc

* fix docs

* fix colab

* change docs
2022-02-15 22:18:39 +08:00
MengzhangLI 574adbe43b Bump v0.21.1 (#1273)
* Bump v0.21.1

* add improvements in changelog

* add improvements in changelog

* fix cn readme

* change changelog
2022-02-09 17:17:55 +08:00
Range King 8a33102d14 [Docs] Fix typo (#1263)
1. Fix img path typo in `useful_tools.md`, `zh_cn/model_zoo.md`, and `zh_cn/train.md`
2. Add missing content in `zh_cn/useful_tools.md` to to match `en/useful_tools.md`
2022-02-07 23:20:29 +08:00
MengzhangLI a83f715bb8 Bump v0.21.0 (#1258)
* change version to v0.21.0

* change version to v0.21.0

* change version to v0.21.0

* change version to v0.21.0
2022-01-29 18:30:13 +08:00
MengzhangLI 574b195be1 [Enhance] New-style CPU training and inference. (#1251)
* [Enhance] New-style CPU training and inference.

* assert mmcv version

* SyncBN to BN in training and testing

* SyncBN to BN in training and testing

* upload untracked files to this branch

* delete gpu_ids

* fix bugs

* assert args.gpu_id in train.py

* use cfg.gpu_ids = [args.gpu_id]

* use cfg.gpu_ids = [args.gpu_id]

* fix typo

* fix typo

* fix typos
2022-01-28 23:03:01 +08:00
rstrudel ee47c41740 [Feature] Support Segmenter (#955)
* segmenter: add model

* update

* readme: update

* config: update

* segmenter: update readme

* segmenter: update

* segmenter: update

* segmenter: update

* configs: set checkpoint path to pretrain folder

* segmenter: modify vit-s/lin, remove data config

* rreadme: update

* configs: transfer from _base_ to segmenter

* configs: add 8x1 suffix

* configs: remove redundant lines

* configs: cleanup

* first attempt

* swipe CI error

* Update mmseg/models/decode_heads/__init__.py

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* segmenter_linear: use fcn backbone

* segmenter_mask: update

* models: add segmenter vit

* decoders: yapf+remove unused imports

* apply precommit

* segmenter/linear_head: fix

* segmenter/linear_header: fix

* segmenter: fix mask transformer

* fix error

* segmenter/mask_head: use trunc_normal init

* refactor segmenter head

* Fetch upstream (#1)

* [Feature] Change options to cfg-option (#1129)

* [Feature] Change option to cfg-option

* add expire date and fix the docs

* modify docstring

* [Fix] Add <!-- [ABSTRACT] --> in metafile #1127

* [Fix] Fix correct num_classes of HRNet in LoveDA dataset #1136

* Bump to v0.20.1 (#1138)

* bump version 0.20.1

* bump version 0.20.1

* [Fix] revise --option to --options #1140

Co-authored-by: Rockey <41846794+RockeyCoss@users.noreply.github.com>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

* decode_head: switch from linear to fcn

* fix init list formatting

* configs: remove variants, keep only vit-s on ade

* align inference metric of vit-s-mask

* configs: add vit t/b/l

* Update mmseg/models/decode_heads/segmenter_mask_head.py

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

* Update mmseg/models/decode_heads/segmenter_mask_head.py

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

* Update mmseg/models/decode_heads/segmenter_mask_head.py

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

* Update mmseg/models/decode_heads/segmenter_mask_head.py

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

* Update mmseg/models/decode_heads/segmenter_mask_head.py

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>

* model_converters: use torch instead of einops

* setup: remove einops

* segmenter_mask: fix missing imports

* add necessary imported init funtion

* segmenter/seg-l: set resolution to 640

* segmenter/seg-l: fix test size

* fix vitjax2mmseg

* add README and unittest

* fix unittest

* add docstring

* refactor config and add pretrained link

* fix typo

* add paper name in readme

* change segmenter config names

* fix typo in readme

* fix typos in readme

* fix segmenter typo

* fix segmenter typo

* delete redundant comma in config files

* delete redundant comma in config files

* fix convert script

* update lateset master version

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
Co-authored-by: Rockey <41846794+RockeyCoss@users.noreply.github.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-26 13:50:51 +08:00
Rockey da1fcf5da3 [Docs] Add MultiImageMixDataset tutorial (#1194)
* [Docs] Add MultiImageMixDataset tutorial

* modify to randommosaic

* fix markdown
2022-01-24 15:48:54 +08:00
MengzhangLI fe42371297 [Feature] Support ISPRS Vaihingen Dataset. (#1171)
* Add Vaihingen

* upload models&logs of vaihingen

* fix unit test

* fix dataset pipeline

* fix unit test coverage

* fix vaihingen docstring
2022-01-22 20:27:51 +08:00
Kingdrone 634fbceab0 [Feature] Support ISPRS Potsdam Dataset. (#1097)
* add isprs potsdam dataset

* add isprs dataset configs

* fix lint error

* fix potsdam conversion bug

* fix error in potsdam class

* fix error in potsdam class

* add vaihingen dataset

* add vaihingen dataset

* add vaihingen dataset

* fix some description errors.

* fix some description errors.

* fix some description errors.

* upload models & logs of Potsdam

* remove vaihingen and add unit test

* add chinese readme

* add pseudodataset

* use mmcv and add class_names

* use f-string

* add new dataset unittest

* add docstring and remove global variables args

* fix metafile error in PSPNet

* fix pretrained value

* Add dataset info

* fix typo

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-01-18 14:15:15 +08:00
Junjun2016 e0b4f556d4 [Fix] Fix the model statistics in doc for readthedoc #1153 2021-12-20 23:52:53 +08:00
MengzhangLI 4a90241f91 [Docs] Refactor the structure of documentation (#1128)
* merge docs/ and docs_zh-CN/

* merge docs/ and docs_zh-CN/

* merge docs/ and docs_zh-CN/

* merge docs/ and docs_zh-CN/

* fix launch utility url

* fix launch utility url

* fix wrong pytorch doc url

* remove wrong links docs//
2021-12-16 18:56:45 +08:00