Commit Graph

146 Commits (masterbak)

Author SHA1 Message Date
smttsp 9387455d5b [FIX] fixing bug in `test_cfg` for U-Net _base_ script
tuples were required as default input, but int was given
2022-11-24 11:58:17 -05:00
whooray 280b1755c4
Merge branch 'open-mmlab:master' into custom/face_occlusion 2022-11-01 22:28:22 +09:00
谢昕辰 6db09358f0
modify results (#2114) 2022-10-27 13:08:34 +08:00
whooray f537397658
Merge branch 'open-mmlab:master' into custom/face_occlusion 2022-10-24 09:37:37 +09:00
MengzhangLI a68e7c2823
[Fix] Fix PoolFormer mIoU result (#2190) 2022-10-18 22:58:21 +08:00
谢昕辰 04afdb3f27
use syncbn (#2207) 2022-10-18 20:13:53 +08:00
jinwonkim93 1fc898c7df formatting 2022-10-18 08:49:07 +09:00
jinwonkim93 e4a9dd790a formatting 2022-10-18 00:45:58 +09:00
jinwonkim93 69b49cddbb update prepare.md 2022-10-17 15:30:23 +00:00
jinwonkim93 1ca1780f5a fix format 2022-10-17 01:47:59 +00:00
jinwonkim93 23c9fd7358 add config file for occlusion face 2022-10-16 05:14:49 +00:00
MengzhangLI 6c746fad9c
[Feature] Add PoolFormer (CVPR'2022) (#1537)
* [Feature] Add PoolFormer (CVPR'2022)

* Upload README.md, models and log.json

* fix wrong base config name in config file

* refactor alignresize

* delete align_resize.py

* change config name

* use ResizetoMultiple to replace AlignResize

* update readme

* fix config bug

* resolve conflict
2022-10-01 12:54:00 +08:00
MengzhangLI 7a0f45ebe0
[Fix] Fix Segformer readme typo (#1980) 2022-08-28 13:19:55 +08:00
MengzhangLI dd42fa8d01
[Fix] Fix knet_s3_upernet_swin-l_8x2_640x640_adamw_80k_ade20k config (#1871)
* [Fix] Fix knet_s3_upernet_swin-l_8x2_640x640_adamw_80k_ade20k model

* delete data link
2022-08-11 09:34:25 +08:00
MengzhangLI 3e3ed9ad67
[Fix] Fix bisenetv2_fcn_ohem_4x4_1024x1024_160k_cityscapes.py (#1901) 2022-08-11 09:33:00 +08:00
MengzhangLI 5b2f19aae4
[Fix] Fix Coco-stuff164k on BiSeNetV1 config error (#1893) 2022-08-09 22:34:11 +08:00
Akide Liu 13d4c3997c
fix : segformer checkpoint url (#1785)
fix  : segformer checkpoint url
2022-07-18 11:26:59 +08:00
MengzhangLI 85569442b6
[Feature] Add Swin Large(Swin-L) Transformer models (#1471)
* [Feature] Add Swin Large(Swin-L) Transformer models

* fix
2022-07-08 17:29:17 +08:00
谢昕辰 0fa7c95fd9
update erfnet results (#1744) 2022-07-07 19:24:02 +08:00
MengzhangLI 5c113d98ec
[Fix] Fix pspnet_r50-d8_rsb-pretrain_512x1024_adamw_80k_cityscapes model&log link (#1721) 2022-06-28 16:22:20 +08:00
MengzhangLI 4d0eb367e9
[Fix] Add notation of training setting of SegFormer (#1707)
* [Fix] Add notation of training setting of SegFormer

* fix

* fix
2022-06-27 22:58:28 +08:00
MengzhangLI 144dc3919e
[Feature] Update New SegFormer models (#1705) 2022-06-25 16:01:50 +08:00
FangjianLin 733ad9ef6e
[Fix] Fix Segmenter-l readme (#1695)
* [Fix] Fix Segmenter-l readme

* fix
2022-06-24 16:37:39 +08:00
Evelyn Wang 5ecf45d86c
PAVI startup optimization (#1679) 2022-06-21 11:07:08 +08:00
谢昕辰 36984d98ba
[Enhancement] Add UPerNet r18 results (#1669)
* add r18 configs

* update r18 city result

* add configs

* update results

* rename files

* fix lint
2022-06-21 10:47:30 +08:00
FangjianLin f2ea015920
Add a note about segmenter's seed in the readme (#1670)
* Add a note about segmenter's seed in the readme

* fix

* Update configs/segmenter/README.md

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-06-17 14:59:04 +08:00
谢昕辰 98dfa1749b
fix UPerNet typo and solve key not found error in mim (#1633) 2022-06-02 18:56:56 +08:00
Miao Zheng 104429be00
[Docs] Replace markdownlint with mdformat for avoiding installing ruby (#1591)
* [Docs] Replace markdownlint with mdformat for avoiding installing ruby

* [Docs] Replace markdownlint with mdformat for avoiding installing ruby

* lint
2022-05-20 18:29:44 +08:00
FangjianLin 88b4f0cec2
[Fix] Fix fastfcn crop_size in README.md (#1597) 2022-05-20 13:54:25 +08:00
MengzhangLI a33d27e356
[Fix] Fix main line link in MAE README.md (#1556) 2022-05-05 17:49:38 +08:00
Sebastian d1281a08aa
Replace Arxiv with ICCV bibtex entry (#1536)
* Replace Arxiv with ICCV bibtex entry

* Update configs/segmenter/README.md

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

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-05-01 12:56:56 +08:00
Yuan Liu 6563cb513e
[Feature]: Add MAE (#1307)
* [Fix]: Fix lint

* [WIP]: Add mae seg config

* [Feature]: Add MAE seg

* [Fix]: Fix mae dataset img scale bug

* [Fix]: Fix lint

* [Feature]: Change mae config to mae_segmentation's config

* [Feature]: Add interpolate pe when loading

* [Fix]: Fix pos_embed not used bug

* [Fix]: Fix lint

* [Fix]: Init rel pos embed with zeros

* [Fix]: Fix lint

* [Fix]: Change the type name of backbone to MAE

* [Fix]: Delete ade20k_512x512.py

* [Fix]: Use mmseg provided ade20k.py

* [Fix]: Change 1 sample per gpu to 2 samples per gpu

* [Fix]: Fix conflict

* [Refactor]: Use the TransformerEncoderLayer of  BEiT

* [Feature]: Add UT

* [Fix]: Change the default value of qv bias to False

* [Fix]: Initialize relative pos table with zeros

* [Fix]: Delete redundant code in mae

* [Fix]: Fix lint

* [Fix]: Rename qkv_bias to qv_bias

* [Fix]: Add docstring to weight_init of MAEAttention

* [Refactor]: Delete qv_bias param

* [Fix]: Add reference to fix_init_weight

* [Fix]: Fix lint

* [Fix]: Delete extra crop size

* [Refactor]: Rename mae

* [Fix]: Set bias to True

* [Fix]: Delete redundant params

* [Fix]: Fix lint

* [Fix]: Fix UT

* [Fix]: Add resize abs pos embed

* [Fix]: Fix UT

* [Refactor]: Use build layer

* [Fix]: Add licsense and fix docstring

* [Fix]: Fix docstring

* [Feature]: Add README metafile

* [Fix]: Change 640 to 512

* [Fix]: Fix README

* fix readme of MAE

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-28 00:54:20 +08:00
Miao Zheng 62c3a7dda9
[Fix] Revise high workers_per_gpus (#1506) 2022-04-25 13:19:47 +08:00
Li Dong b74e28dbd1
migrate azure blob for beit checkpoints (#1503)
We are going to use a new blob account to store the checkpoints.
2022-04-23 14:57:32 +08:00
Miao Zheng 2aed0dec91
[Enhancement]Update checkpoint for model in deeplabv3plus (#1487)
* [WIP]Update checkpoint for model in deeplabv3plus

* add aug test

* url fix
2022-04-21 20:15:34 +08:00
MengzhangLI ecd2dc474a
[Feature] Provide URLs of Swin Transformer pretrained models (#1389)
* [Feature] Provide URLs of Swin Transformer pretrained models

* [Feature] Add multi machine `dist_train`. (#1383)

* Add training startup documentation

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* delete pretrained=None in all six config files

* [Fix] make arguments effective in tools/confusion_matrix.py (#1401)

* add an argument for customizing `title' of the output figure

* fix `color_theme' arguments not passing to plot function

Signed-off-by: code14 <mob5566@gmail.com>

* colab notebook: fix outdated link for doc (#1392)

* colab notebook: fix outdated link for doc

Fixed outdated link for how to customize your datasets by reorganizing data.

* fix lint

* fix typo (#1405)

* [Fix] Fix windows-style path in `md2yml.py` in Windows pre-commit.  (#1407)

* test

* avoid windows path

* [Fix] fix the config name style description (#1414)

Co-authored-by: FangjianLin <93248678+linfangjian01@users.noreply.github.com>
Co-authored-by: Cody Wong <mob5566@gmail.com>
Co-authored-by: Nemo Xiong <xiongnemo@126.com>
Co-authored-by: Xiangxu-0103 <xuxiang0103@gmail.com>
Co-authored-by: Rockey <41846794+RockeyCoss@users.noreply.github.com>
2022-04-05 11:36:38 +08:00
MengzhangLI c9f507e207
[Feature] Support Resnet strikes back (#1390)
* [Feature] Support Resnet strikes back

* fix url

* [Feature] Add multi machine `dist_train`. (#1383)

* Add training startup documentation

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* modify R-50b rsb

Co-authored-by: FangjianLin <93248678+linfangjian01@users.noreply.github.com>
2022-04-05 11:34:53 +08:00
MengzhangLI d6a6c39a70
[Fix] Fix some wrong urls of models or log in ./configs (#1433) 2022-03-30 21:06:14 +08:00
FangjianLin 24f1563571
[Feature] Add BEiT backbone (#1404)
* [Feature] Add BEiT backbone

* fix

* fix

* fix

* fix

* add readme

* fix

* fix

* fix

* fix

* fix

* add link

* fix memory

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix test_beit.py

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-03-30 15:25:10 +08:00
MengzhangLI 2e28db0dcb
[Feature] Support K-Net (#1289)
* knet first commit

* fix import error in knet

* remove kernel update head from decoder head

* [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 kernel_generate_head

* add unit test & comments in knet.py

* add copyright to fix lint error

* modify config names of knet

* rename swin-l 640

* upload models&logs and refactor knet_head.py

* modify docstrings and add some ut

* add url, modify docstring and add loss ut

* modify docstrings
2022-03-10 20:05:37 +08:00
MengzhangLI 8f33d68b42
[Feature] Provide URLs of STDC, Segmenter and Twins pretrained models (#1357) 2022-03-09 13:19:41 +08:00
MengzhangLI e8cc3224e1
[Docs] Change ConvNeXt journal infomation (#1350) 2022-03-05 10:48:25 +08:00
MengzhangLI a7c2f680e8
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
MengzhangLI 7ddd2fe2ec
[Feature] Support ConvNext (#1216)
* upload original backbone and configs

* ConvNext Refactor

* ConvNext Refactor

* convnext customization refactor with mmseg style

* convnext customization refactor with mmseg style

* add ade20k_640x640.py

* upload files for training

* delete dist_optimizer_hook and remove layer_decay_optimizer_constructor

* check max(out_indices) < num_stages

* add unittest

* fix lint error

* use MMClassification backbone

* fix bugs in base_1k

* add mmcls in requirements/mminstall.txt

* add mmcls in requirements/mminstall.txt

* fix drop_path_rate and layer_scale_init_value

* use logger.info instead of print

* add mmcls in runtime.txt

* fix f string && delete

* add doctring in LearningRateDecayOptimizerConstructor and fix mmcls version in requirements

* fix typo in LearningRateDecayOptimizerConstructor

* use ConvNext models in unit test for LearningRateDecayOptimizerConstructor

* add unit test

* fix typo

* fix typo

* add layer_wise and fix redundant backbone.downsample_norm in it

* fix unit test

* give a ground truth lr_scale and weight_decay

* upload models and readme

* delete 'backbone.stem_norm' and 'backbone.downsample_norm' in get_num_layer()

* fix unit test and use mmcls url

* update md2yml.py and metafile

* fix typo
2022-03-04 15:52:01 +08:00
MengzhangLI 69d5cc553e
[Fix] Upload complete STDC models (#1332) 2022-03-01 10:04:05 +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
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 02d2790145
delete unnecessary lines of STDCHead (#1231) 2022-01-28 10:53:11 +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