Commit Graph

121 Commits (4912ea2b0a7092d147fb6c191b73b90a2923c332)

Author SHA1 Message Date
MengzhangLI 71c201b181
[Fix] Fix iSAID dataset conversion default setting in doc. (#1298) 2022-02-17 20:05:53 +08:00
Waterman0524 4f4e7728b0
[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 92068b4196
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 d9eb6d0067
[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 a39f5856ce
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 f599d388cf
[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 29cfcd145c
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 ecda117ea5
[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 cb1bf9f372
[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 e2361cbce0
[Docs] Add MultiImageMixDataset tutorial (#1194)
* [Docs] Add MultiImageMixDataset tutorial

* modify to randommosaic

* fix markdown
2022-01-24 15:48:54 +08:00
MengzhangLI 4b905cbe2f
[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 b997a13e28
[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 9975c674c7
[Fix] Fix the model statistics in doc for readthedoc #1153 2021-12-20 23:52:53 +08:00
MengzhangLI 520ec8e128
[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
MengzhangLI 991b0512b9
Bump v0.20.2 #1141 2021-12-15 16:49:42 +08:00
MengzhangLI bc4835d1e9
Bump to v0.20.1 (#1138)
* bump version 0.20.1

* bump version 0.20.1
2021-12-14 22:32:11 +08:00
Rockey 6f844429ea
[Feature] Change options to cfg-option (#1129)
* [Feature] Change option to cfg-option

* add expire date and fix the docs

* modify docstring
2021-12-14 19:11:52 +08:00
MengzhangLI bdfbaf00c1
Bump v0.20.0 (#1124)
* change version to v0.20.0

* change version to v0.20.0

* change version to v0.20.0
2021-12-11 01:43:29 +08:00
MengzhangLI ff044c53f4
[Fix] Unified links of readthedocs in docs (#1119)
* change readthedocs

* change readthedocs

* change readthedocs
2021-12-10 16:49:45 +08:00
irvingzhang0512 dec5bf0976
[Feature] Support video demo (#1014)
* First commit for video demo

* fix lint

* update

* fix

* add wget in shell
2021-12-08 23:14:30 -08:00
MengzhangLI a3574192c8
[Fix] Fix MMHuman3D description and BiSeNetV2 FP16 hyperlink (#1111)
* fix mmhuman3d readme

* fix mmhuman3d readme
2021-12-07 15:51:18 +08:00
MengzhangLI f0e6201883
[Doc] add MMHuman3D link #1101 2021-12-02 21:35:49 -08:00
MengzhangLI 90d0bd058a
change LoveDA codalab server address (#1095) 2021-12-01 13:29:05 +08:00
Kingdrone 2bd7f60785
[Feature] Support LoveDA dataset (#1028)
* update LoveDA dataset api

* revised lint errors in dataset_prepare.md

* revised lint errors in loveda.py

* revised lint errors in loveda.py

* revised lint errors in dataset_prepare.md

* revised lint errors in dataset_prepare.md

* checked with isort and yapf

* checked with isort and yapf

* checked with isort and yapf

* Revert "checked with isort and yapf"

This reverts commit 686a51d9

* Revert "checked with isort and yapf"

This reverts commit b877e121bb.

* Revert "revised lint errors in dataset_prepare.md"

This reverts commit 2289e27c

* Revert "checked with isort and yapf"

This reverts commit 159db2f8

* Revert "checked with isort and yapf"

This reverts commit 159db2f8

* add configs & fix bugs

* update new branch

* upload models&logs and add format-only

* change pretraied model path of HRNet

* fix the errors in dataset_prepare.md

* fix the errors in dataset_prepare.md and configs in loveda.py

* change the description in docs_zh-CN/dataset_prepare.md

* use init_cfg

* fix test converage

* adding pseudo loveda dataset

* adding pseudo loveda dataset

* adding pseudo loveda dataset

* adding pseudo loveda dataset

* adding pseudo loveda dataset

* adding pseudo loveda dataset

* Update docs/dataset_prepare.md

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

* Update docs_zh-CN/dataset_prepare.md

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

* Update docs_zh-CN/dataset_prepare.md

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

* Delete unused lines of unittest and Add docs

* add convert .py file

* add downloading links from zenodo

* move place of LoveDA and Cityscapes in doc

* move place of LoveDA and Cityscapes in doc

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-11-24 19:41:19 +08:00
MengzhangLI 6070a0e1e7
add MMFewShot on README (#1065) 2021-11-24 19:40:00 +08:00
MengzhangLI 2b2f107fd6
add mmflow on README (#1052) 2021-11-18 21:57:30 +08:00
MengzhangLI 6b3e5506c5
[Fix] Remove `fp16` folder in `configs`. (#1031)
* remove fp16 folder

* remove fp16 in docs

* fix some typos

* fix some typos

* fix fp16 in yml
2021-11-15 19:14:57 +08:00
Junjun2016 504965184c
Bump v0.19.0 (#1009)
* change version to v0.19.0

* update changelog
2021-11-03 05:27:20 +08:00
Rockey e27017efa7
[Docs] Fix the broken link (#985)
* [Fix] Fix the broken link

* [Fix] Fix the broken link

* Update docs/dataset_prepare.md

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

* Update docs_zh-CN/dataset_prepare.md

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

* [Docs] Fix the broken link

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-10-25 15:07:40 +08:00
Junjun2016 54bd4bdd82
[Enhancement] Add codespell pre-commit hook and fix typos (#920)
* add codespell pre-commit hook and fix typos

* Update mmseg/models/decode_heads/dpt_head.py

* Update mmseg/models/backbones/vit.py

* Update mmseg/models/backbones/vit.py

* fix typos

* skip formating typo

* deprecate formating

* skip ipynb

* unstage ipynb changes

* unstage ipynb changes

* fix typos in ipynb

* unstage ipynb changes
2021-10-13 06:21:17 -07:00
Junjun2016 8d49dd31e4
Bump to v0.18.0 (#940)
* bump to v0.18.0

* replace \ with /
2021-10-07 17:37:31 +08:00
kira e171e806de
The path of the annotation is wrong in the tutorial (#907)
* Update config.md

* Update config.md
2021-09-26 00:07:41 +08:00
MengzhangLI 186a1fc88e
[Feature] Support multiple losses during training (#818)
* multiple losses

* fix lint error

* fix typos

* fix typos

* Adding Attribute

* Fixing loss_ prefix

* Fixing loss_ prefix

* Fixing loss_ prefix

* Add Same

* loss_name must has 'loss_' prefix

* Fix unittest

* Fix unittest

* Fix unittest

* Update mmseg/models/decode_heads/decode_head.py

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-09-24 15:08:28 +08:00
VVsssssk 0b11d58773
[Fix] fix_torchserver1.1 (#844)
* test_torchserver1.1

* test_torchserver1.2

* update

* update mmseg_handler.py

* update docs

* update torchserver

* tranfer torchserver to torchserve

* update docs
2021-09-23 19:14:52 +08:00
DerrickWang005 62f70ebedd
support coco stuff-10k/164k (#625)
* support coco stuff-10k/164k

* update docs

* fix docs

* update docs

* fix import lints

* Update docs/dataset_prepare.md

* Update docs/dataset_prepare.md

* Update tools/convert_datasets/coco_stuff164k.py

* Update tools/convert_datasets/coco_stuff10k.py

* Update tools/convert_datasets/coco_stuff10k.py

* Update tools/convert_datasets/coco_stuff10k.py

* Update tools/convert_datasets/coco_stuff10k.py

* Update coco_stuff.py

fix the description of the dataset

* Update dataset_prepare.md

fix the doc tree of coco stuff 10k

* Update coco_stuff10k.py

fix img_dir

* Update coco_stuff.py

fix descriptions

* Update coco_stuff164k.py

fix out_dir

* Update coco_stuff10k.py

fix save file name

* Update coco_stuff.py

fix seg_map_suffix

* Update dataset_prepare.md

fix -p

* Update dataset_prepare.md

fix doc tree

* modify coco stuff convertor

* Remove redundant code

* fix 164k convert bug

* remove redundant comment

* add deeplabv3 configs and more iterations

* replace shutil.move with shtil.copyfile

* Update deeplabv3_r50-d8_512x512_4x4_80k_coco_stuff10k.py

fix wrong config

* Update deeplabv3_r101-d8_512x512_4x4_80k_coco_stuff164k.py

fix wrong config

* fix wrong configs

* fix wrong configs

* fix wrong path for coco stuff 10k

* fix convert bugs

* fix seg_filename bug

* when nproc=0, use track progress

* rename configs: coco_stuff --> coco-stuff

* add coco-stuff 10k and 164k to README.md

* update configs

* add deeplabv3 benchmark

* add pspnet benchmark

* remove redundant comma

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-09-22 20:48:08 +08:00
Junjun2016 4e6f2ebced
[Docs] Use Chinese menu (#880)
* Use Chinese menu

* replace \ with /
2021-09-18 18:36:43 +08:00
Junjun2016 4d8229c141
[Docs] Improve docs style (#879)
* Improve docs style

* update lists

* update the size of image

* modify duplicate mmdet3d
2021-09-16 08:23:50 -07:00
sennnnn cae715a4b6
[Fix] Convert SyncBN to BN when training on DP (#772)
* [Fix] Convert SyncBN to BN when training on DP.

* Modify SyncBN2BN.

* Add SyncBN2BN unit test.

* Resolve some comments.

* use mmcv official revert_sync_batchnorm

* Remove local syncbn2bn unit tests.

* Update mmcv version.

* Fix bugs of gather model tools.

* Modify warnings.

* Modify docker mmcv version.

* Update mmcv version table.
2021-09-15 09:39:37 -07:00
Junjun2016 122448010b
Bump to v0.17.0 (#841) 2021-09-01 22:43:38 +08:00
谢昕辰 5753f413ad
[Feature] Support dark dataset test (#815)
* rewrite init function

* support dark_zurich test

* reset image size

* add night

* add train_pipeline

* init function parameters

* remove base dataset config

* remove fcn config

* update doc

* add datasets to README

* update doc

* fix table of PSPNet config

* fix table of PSPNet config

* change 'model' tp 'evaluation checkpoint'

* fix typos in README_zh-CN

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2021-08-28 11:51:05 -07:00
sennnnn e235c1a824
[Refactor] Support progressive test with fewer memory cost (#709)
* Support progressive test with fewer memory cost.

* Temp code

* Using processor to refactor evaluation workflow.

* refactor eval hook.

* Fix process bar.

* Fix middle save argument.

* Modify some variable name of dataset evaluate api.

* Modify some viriable name of eval hook.

* Fix some priority bugs of eval hook.

* Depreciated efficient_test.

* Fix training progress blocked by eval hook.

* Depreciated old test api.

* Fix test api error.

* Modify outer api.

* Build a sampler test api.

* TODO: Refactor format_results.

* Modify variable names.

* Fix num_classes bug.

* Fix sampler index bug.

* Fix grammaly bug.

* Support batch sampler.

* More readable test api.

* Remove some command arg and fix eval hook bug.

* Support format-only arg.

* Modify format_results of datasets.

* Modify tool which use test apis.

* support cityscapes eval

* fixed cityscapes

* 1. Add comments for batch_sampler;

2. Keep eval hook api same and add deprecated warning;

3. Add doc string for dataset.pre_eval;

* Add efficient_test doc string.

* Modify test tool to compat old version.

* Modify eval hook to compat with old version.

* Modify test api to compat old version api.

* Sampler explanation.

* update warning

* Modify deploy_test.py

* compatible with old output, add efficient test back

* clear logic of exclusive

* Warning about efficient_test.

* Modify format_results save folder.

* Fix bugs of format_results.

* Modify deploy_test.py.

* Update doc

* Fix deploy test bugs.

* Fix custom dataset unit tests.

* Fix dataset unit tests.

* Fix eval hook unit tests.

* Fix some imcompatible.

* Add pre_eval argument for eval hooks.

* Update eval hook doc string.

* Make pre_eval false in default.

* Add unit tests for dataset format_results.

* Fix some comments and bc-breaking bug.

* Fix pre_eval set cfg field.

* Remove redundant codes.

Co-authored-by: Jiarui XU <xvjiarui0826@gmail.com>
2021-08-19 20:44:58 -07:00
谢昕辰 f72727c563
[Tools] Add vit/swin/mit convert weight scripts (#783)
* init scripts

* update markdown

* update markdown

* add docs

* delete mit converter and use torch load function

* rename segformer readme

* update doc

* modify doc

* 更新中文文档

* Update useful_tools.md

* Update useful_tools.md

* modify doc

* update segformer.yml
2021-08-17 18:42:42 -07:00
Junjun2016 441be4e435
[Dcos] Add header for files (#796)
* Add header for files

* Delete header in config files
2021-08-16 23:16:55 -07:00
MengzhangLI f6dca38283
[Doc] "Model Serving" Chinese doc in useful_tools.md (#761)
* Add Model Serving Chinese docs

* Update docs_zh-CN/useful_tools.md

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

* Update useful_tools.md

* fix lint error

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-08-12 16:23:47 +08:00
zhangrui_wolf 2c1b3ba211
Correct docs (#696)
* Correct get_started.md

* Correct dataset_prepare.md

* Correct model_zoo.md

* Correct train.md

* Correct inference.md

* Correct config.md

* Correct customize_datasets.md

* Correct data_pipeline.md

* Correct customize_models.md

* Correct training_tricks.md

* Correct customize_runtime.md

* Correct useful_tools.md and translate "model serving"

* Fix typos

* fix lint

* Modify the content of useful_tools.md to meet the requirements, and modify some of the content by referring to the Chinese documentation of mmcls.

* Modify the use_tools.md file based on feedback. Adjusted some translations according to "English-Chinese terminology comparison".

* Modify get_start.md . Adjusted some translations according to "English-Chinese terminology comparison".

* Modify dataset_prepare.md.

* Modify the English version and the Chinese version of model_zoo.md. Adjusted some translations according to "English-Chinese terminology comparison".

* Modify train.md. Adjusted some translations according to "English-Chinese terminology comparison".

* Modify inference.md. Adjusted some translations according to "English-Chinese terminology comparison".

* Modify config.md. Adjusted some translations according to "English-Chinese terminology comparison".

* Modify customize_datasets.md.

* Modify data_pipeline.md. Adjusted some translations according to "English-Chinese terminology comparison". The main corrected term is: pipeline.

* Modify customize_models.md.

* Modify training_tricks.md.

* Modify customize_runtime.md. Adjusted some translations according to "English-Chinese terminology comparison".

* fix full point usage in items

* fix typo

* fix typo

* fix typo

* fix typo

* Update useful_tools.md

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2021-08-05 16:24:01 +08:00
Junjun2016 ee66167999
Bump to v0.16.0 (#749)
* Bump to v0.16.0

* fix doc

* fix changelog

* fix changelog
2021-08-04 17:17:39 +08:00
Jerry Jiarui XU feeac01083
[Doc] Fixed doc api display (#725)
* [Doc] Fixed doc api display

* add missing pretty table
2021-07-26 02:04:14 +08:00
BigDong f5be6e2617
[Fix] fix url error in config docs (#680)
* [Fix] fix url error in config docs

* Fix URL

* Fix URL
2021-07-08 19:14:56 +08:00
keke1u 11ad4cc116
Update config.md (#678)
Fixed some typos.
2021-07-07 16:19:45 +08:00
Junjun2016 81a4ecef19
fix mmcv installation (#676) 2021-07-06 17:19:45 +08:00