Commit Graph

580 Commits (a85675c16f180d7a121604be70cb379d40d74e37)
 

Author SHA1 Message Date
MengzhangLI 69d5cc553e
[Fix] Upload complete STDC models (#1332) 2022-03-01 10:04:05 +08:00
Miao Zheng 7cbd396a74
[Docs] Reorganizing OpenMMLab projects in readme (#1320) 2022-02-27 12:55:19 +08:00
MengzhangLI 4912ea2b0a
[Feature] Support kenerl updation for some decoder heads. (#1299)
* [Feature] Add kenerl updation for some decoder heads.

* [Feature] Add kenerl updation for some decoder heads.

* directly use forward_feature && modify other 3 decoder heads

* remover kernel_update attr

* delete unnecessary variables in forward function

* delete kernel update function

* delete kernel update function

* delete unnecessary docstrings

* modify comments in self._forward_feature()

* modify docstrings in self._forward_feature()

* fix docstring

* modify uperhead
2022-02-27 11:35:29 +08:00
Miao Zheng c0442f1b4a
Add deprecation message for deploy tool (#1321)
* Add deprecation message for deploy tool

* deploy test
2022-02-25 11:22:03 +08:00
Miao Zheng e5cd755481
[Enhancement] Revise pre-commit-hooks (#1315) 2022-02-23 23:44:27 +08:00
MengzhangLI 8cf333c901
[Fix] Update correct `In Collection` in metafile of each configs. (#1239)
* change md2yml file

* update metafile

* update twins In Collection automatically

* fix twins metafile

* fix twins metafile

* all metafile use value of Method

* update collect name

* update collect name

* fix some typo

* fix FCN D6

* change JPU to FastFCN

* fix some typos in DNLNet, NonLocalNet, SETR, Segmenter, STDC, FastSCNN

* fix typo in stdc

* fix typo in DNLNet and UNet

* fix NonLocalNet typo
2022-02-23 18:00:28 +08:00
MengzhangLI 6ff724e55a
[Enhancement] Add win-ci (#1296)
* [Enhancement] Add win-ci

* add timm in win unittest

* remove mmflow with mmseg in win unittest

* remove opencv-python in requirements

* add opencv2 back

* move opencv installation into build.yml
2022-02-22 21:06:57 +08:00
MengzhangLI 72ff12fc6c
[Doc] add MMRotate link (#1308) 2022-02-21 18:13:15 +08:00
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
Rockey 9522b4fc97
[Fix] Fix the bug that setr cannot load pretrain (#1293)
* [Fix] Fix the bug that setr cannot load pretrain

* delete new pretrain
2022-02-17 16:25:17 +08:00
MengzhangLI 2056caa790
[Fix] Fix wrong palette value in vaihingen (#1292) 2022-02-16 22:41:39 +08:00
MengzhangLI 0e3d1b803c
[Fix] Add Pytorch HardSwish assertion in unit test (#1294)
* assert original HardSwish when PyTorch > 1.6 in unit test

* assert original HardSwish when PyTorch > 1.6 in unit test

* assert original HardSwish when PyTorch > 1.6 in unit test

* assert original HardSwish when PyTorch > 1.6 in unit test

* assert original HardSwish when PyTorch > 1.6 in unit test

* assert original HardSwish when PyTorch > 1.6 in unit test
2022-02-16 19:47:58 +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
Hyeokjoon Kwon 346f70da5f
[Fix] Make accuracy take into account ignore_index (#1259)
* make accuracy take into account ignore_index

* add UT for accuracy
2022-02-15 00:39:59 +08:00
Sebastian 0934a57f4f
Fix bug in conversion of potsdam (#1279) 2022-02-11 16:31:27 +08:00
andife 68cfdc7b6b
Update MMSegmentation_Tutorial.ipynb (#1281) 2022-02-11 13:07:46 +08:00
jyh 9c56c2da34
fix-demo (#1269) 2022-02-10 15:13:57 +08:00
MengzhangLI b16310182b
[Fix] Fix type in Swin Transformer (#1274) 2022-02-09 19:08:32 +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
Jerry Jiarui XU 82a80880d2
[Improve] Add exception for PointRend for support CPU-only usage (#1271)
* [Improve] Add exception for PointRend for support CPU-only usage

* fixed linting
2022-02-09 00:52:56 -05:00
Jerry Jiarui XU 66b778c064
[Improve] Use MMCV load_state_dict func in ViT/Swin (#1272)
* [Improve] Use MMCV load_state_dict func in ViT/Swin

* use CheckpointLoader instead
2022-02-09 00:52:42 -05:00
MengzhangLI b4314f98c1
[Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
MengzhangLI af88b868a6
fix log repeat (#1267) 2022-02-08 13:40:19 +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
MengzhangLI 02d2790145
delete unnecessary lines of STDCHead (#1231) 2022-01-28 10:53:11 +08:00
MengzhangLI 622f28eea3
[Fix] Fix bug in non-distributed multi-gpu training/testing (#1247)
* Fix bug in non-distributed training

* Fix bug in non-distributed testing

* delete uncomment lines

* add args.gpus
2022-01-28 10:38:16 +08:00
MengzhangLI 8ea3d64c65
add multi-processes script (#1238) 2022-01-27 21:18:55 +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
MengzhangLI 80a48c840e
[Doc] Update `README.md` in configs according to latest standard. (#1233)
* fix README.md in configs

* fix README.md in configs

* modify [ALGORITHM] to [BACKBONE] in backbone config README.md
2022-01-25 20:45:39 +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 bdac9acc66
[Fix] Add vaihingen dataset in readme (#1227)
* add vaihingen in readme

* add vaihingen in readme

* add vaihingen in readme
2022-01-23 22:23:40 +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
Kyungmin Lee 6a22c428c2
[Fix] Improve MultiImageMixDataset unittests coverage (#1197)
* Fix typo in usage example

* original MultiImageMixDataset code in mmdet

* Add MultiImageMixDataset unittests in test_dataset_wrapper

* fix lint error

* fix value name ann_file to ann_dir

* modify retrieve_data_cfg (#1)

* remove dynamic_scale & add palette

* modify retrieve_data_cfg method

* modify retrieve_data_cfg func

* fix error

* improve the unittests coverage

* fix unittests error

* Dataset (#2)

* add cfg-options

* Add unittest in test_build_dataset

* add blank line

* add blank line

* add a blank line

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

* [Fix] Add MultiImageMixDataset unittests

Co-authored-by: Younghoon-Lee <72462227+Younghoon-Lee@users.noreply.github.com>
Co-authored-by: MeowZheng <meowzheng@outlook.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-22 18:13:34 +08:00
MengzhangLI 5b310a0074
[Fix] Add `COCOStuffDataset` in `class_names.py`. (#1222)
* add cocostuff in class_names

* add more class names
2022-01-22 18:03:24 +08:00
MengzhangLI fae51edad9
add potsdam in readme (#1220) 2022-01-22 16:47:38 +08:00
Rockey 7512f05990
[Feature] benchmark can add work_dir and repeat times, test.py now has default work-dir (#1126)
* [Feature] benchmark can add work_dir and repeat times

* change the parameter's name

* change the name of the log file

* add skp road

* add default work dir

* make it optional

* Update tools/benchmark.py

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

* Update tools/benchmark.py

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

* fix typo

* modify json name

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-18 16:38:31 +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
Echo-minn 0f48c7605d
Add website and platform link (#1214)
* Update README.md

Update README to add OpenMMLab website and platform link

* Update README_zh-CN.md

Update README_zh-CN to add website and platform link in chinese
2022-01-18 11:42:11 +08:00
BeaverCC 63f8325846
[Fix] stdc1 weight download link (#1206)
* fix stdc1 download link

* fix stdc1 download link
2022-01-17 13:59:13 +08:00
Rockey ba52d5045e
[Feature] add log collector (#1175)
* [Feature] add log collector

* Update .dev/log_collector/readme.md

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

* Update .dev/log_collector/example_config.py

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

* fix typo and so on

* modify readme

* fix some bugs and revise the readme.md

* more elegant

* Update .dev/log_collector/readme.md

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

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2022-01-14 15:19:23 +08:00
MengzhangLI 81b51ad7af
remove pytest runner and update package info (#1201) 2022-01-13 10:37:48 +08:00
Kyungmin Lee 6c3e63e48b
[Feature] Add MultiImageMixDataset (#1105)
* Fix typo in usage example

* original MultiImageMixDataset code in mmdet

* Add MultiImageMixDataset unittests in test_dataset_wrapper

* fix lint error

* fix value name ann_file to ann_dir

* modify retrieve_data_cfg (#1)

* remove dynamic_scale & add palette

* modify retrieve_data_cfg method

* modify retrieve_data_cfg func

* fix error

* improve the unittests coverage

* fix unittests error

* Dataset (#2)

* add cfg-options

* Add unittest in test_build_dataset

* add blank line

* add blank line

* add a blank line

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

Co-authored-by: Younghoon-Lee <72462227+Younghoon-Lee@users.noreply.github.com>
Co-authored-by: MeowZheng <meowzheng@outlook.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-11 16:18:24 +08:00
Kyungmin Lee f0262fa68e
[Feature] Add Mosaic transform (#1093)
* Fix typo in usage example

* original mosaic code in mmdet

* Adjust mosaic to the semantic segmentation

* Remove bbox test in test_mosaic

* Add unittests

* Fix resize mode for seg_fields

* Fix repr error

* modify Mosaic docs

* modify from Mosaic to RandomMosaic

* Add docstring

* modify Mosaic docstring

* [Docs] Add a blank line before Returns:

* add blank lines

Co-authored-by: MeowZheng <meowzheng@outlook.com>
2022-01-11 16:17:36 +08:00
MengzhangLI 44a963546d
[Fix] Fix mobilenetv3 paper link. #1193 2022-01-11 12:27:55 +08:00
Rockey 78fdf65382
[Feature] add auto resume (#1172)
* [Feature] add auto resume

* Update mmseg/utils/find_latest_checkpoint.py

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

* Update mmseg/utils/find_latest_checkpoint.py

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

* modify docstring

* Update mmseg/utils/find_latest_checkpoint.py

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

* add copyright

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-11 12:27:24 +08:00
MengzhangLI af9ccd3d47
fix changelog link (#1190) 2022-01-10 09:05:09 -08:00