156 Commits

Author SHA1 Message Date
谢昕辰
163277bfe0
[Feature] Support Mask2former in MMSeg 1.x (#2255)
* init commits

* fix crop size

* add seg_data2instance_data method

* add ut and update requirement

* update configs and readme

* add model-indel

* update optional requirements

* fix results

* fix lint error

* update results

* update results

* remove mmdet from requirements/optional.txt

* use try import and update README

* add docstring to overwrtied method

* minor change

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-12-05 18:34:24 +08:00
MengzhangLI
933e4d3cb6
[Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x (#2215)
* [Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x

* add mmdet try except logic

* refactor config files

* add readme

* fix config

* update models & logs

* add MMDET installation and fix info

* fix comments

* fix

* fix config norm optimizer setting

* update models & logs & unittest

* add docstring of MaskFormerHead

* wait for mmdet 3.0.0rc4

* replace seg_mask with seg_logits & add docstring for batch_input_shape

* use mmdet3.0.0rc4

* fix readme and modify config comments

* add mmdet installation in pr_stage_test.yml

* update mmcv version in pr_stage_test.yml

* add mmdet in build_cpu of pr_stage_test.yml

* modify mmdet& mmcv installation in merge_stage_test.yml

* fix typo

* update test.yml

* update test.yml
2022-12-01 19:03:10 +08:00
谢昕辰
a6a5a50518
modify results (#2113) 2022-10-27 13:07:53 +08:00
MengzhangLI
25604a151b
[Feature] Support PoolFormer in MMSegmentation 2.0 (#2191)
* [Feature] 2.0 PoolFormer

* fix mmcls version

* fix ut error

* fix ut

* fix ut
2022-10-19 13:08:07 +08:00
Miao Zheng
e8af7a0ed0
[Fix]Use syncbn in mobilenet_v2 (#2198) 2022-10-18 17:19:37 +08:00
MengzhangLI
f3cd44bebf
[Fix] Fix ResizeToMultiple transform in MMSeg 1.x (#2185) 2022-10-14 15:37:35 +08:00
MengzhangLI
0097dfbabc
[Fix] Fix segmenter-vit-s_fcn config (#2037) 2022-09-14 22:31:39 +08:00
MengzhangLI
bd1097ac02
[Fix] Fix several config file errors in 2.0 (New) (#1994)
* [Fix] Fix several config file errors in 2.0

* change _base_ config file name in configs
2022-08-30 20:20:05 +08:00
Miao Zheng
adec7f2d65
[Fix] Add by_epoch=False for log processor (#1987) 2022-08-29 12:05:58 +08:00
Miao Zheng
c5bcf9991b
[Fix] batch size for citys in cfg file name (#1977) 2022-08-26 20:49:43 +08:00
谢昕辰
a3a144a361
[Refactor] Update config names (#1964)
* rename ann configs

* update ann yml

* update

* update

* update

* update

* update

* update ann readme

* update

* update deeplabv3

* update readme

* fix yml

* fix beit
2022-08-26 18:48:56 +08:00
谢昕辰
03405dcbb6 fix logger cfg (#1894) 2022-08-19 20:50:03 +08:00
Miao Zheng
c498e6f593
[Fix] Add SegVisualizationHook in default hooks (#1900) 2022-08-09 23:33:04 +08:00
Miao Zheng
78b08650b5
[Fix] Default hooks in cgnet config (#1897) 2022-08-09 20:26:05 +08:00
MengzhangLI
e4b9d72a11
[Fix] 2.0 Fix mDice metric for medical datasets (#1864) 2022-08-04 18:32:52 +08:00
MengzhangLI
7369d50049
[Fix] Fix SegLocalVisualizer gt_sem_seg cuda tensor error (#1845)
* [Fix] Fix SegLocalVisualizer gt_sem_seg cuda tensor error

* fix ut error and add config visualizer dict

* fix ut error
2022-08-01 15:03:01 +08:00
xiexinchen.vendor
5b41431511 [Fix] Fix optim wrapper configs 2022-07-14 01:49:52 +00:00
zhengmiao
a63f77d249 Merge branch 'xiexinchen/fix_optim_config' into 'refactor_dev'
[Fix] Fix mae/dpt optimizer config error

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!58
2022-07-07 11:04:10 +00:00
xiexinch
55b0c3aef5 fix cgnet configs and encnet forward error 2022-07-07 14:18:17 +08:00
xiexinch
26a0b4814b add _delete_=True to optim wrapper 2022-07-06 17:26:52 +08:00
xiexinchen.vendor
b852f2605a [Fix] Fix RandomResize default setting 2022-07-06 06:04:40 +00:00
xiexinch
28a3d89b7a Update pre-commit yaml and md2yml.py 2022-07-05 15:58:48 +08:00
limengzhang.vendor
f2bac79f03 [Refactor] Refactor DatasetWrapper 2022-06-27 14:36:18 +00:00
zhengmiao
9ed2e1cdd8 Merge branch 'limengzhang/fix_optim_delete' into 'refactor_dev'
[Fix] Remove _delete_=True in optimizer

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!51
2022-06-21 02:35:38 +00:00
MengzhangLI
2c4bcbd7c6 [Fix] Remove _delete_=True in optimizer 2022-06-20 17:53:36 +08:00
linfangjian01
bb0b33dfed [Refactor] Refactor metrics -> iou_metrics 2022-06-20 16:34:18 +08:00
zhengmiao
ffa0616a68 [Refactory] KNet head 2022-06-20 04:04:48 +00:00
zhengmiao
b23982d1b3 [Refactory] Refactory BaseSegmentor based BaseModel 2022-06-19 06:32:09 +00:00
limengzhang.vendor
4062e90206 [Fix] Remove OptimizerHook and Add it in OptimWrapper 2022-06-16 13:24:19 +00:00
limengzhang.vendor
11493c4851 [Fix] Fix no LoadAnnotations in testpipeline 2022-06-13 05:33:34 +00:00
limengzhang.vendor
34711422ac [Fix] Fix batch size of val_dataloader to 1. 2022-06-12 09:10:26 +00:00
linfangjian.vendor
dd9c411335 [Refactor] Refactor decode_head and segmentors and add preprocess_cfg 2022-06-10 14:02:40 +00:00
limengzhang.vendor
6d80312c8f [Fix] Fix DefaultSampler to InfiniteSampler 2022-06-10 13:13:16 +00:00
limengzhang.vendor
fcb9cb4571 [Refactor] Refactor lr_config 2022-06-08 09:25:00 +00:00
linfangjian.vendor
02677ac2f8 [Refactor] Refactor evaluation config, clean eval hook and metrics 2022-06-08 08:22:42 +00:00
limengzhang.vendor
c84a58b7b5 [Refactor] Refacor default_hooks and train & val & test loops in configs 2022-06-08 06:28:35 +00:00
limengzhang.vendor
5b9c29f992 [Refactor] Refactor Dataset and its Transform Config files 2022-05-31 14:28:42 +00:00
MeowZheng
fcb948295c [Enhancement] Revise RandomCrop 2022-05-27 21:52:49 +08:00
linfangjian.vendor
f6d3291064 [Refactor] Refactor RandomCrop and PhotoMetricDistortion 2022-05-25 01:58:37 +00:00
MengzhangLI
799486e124 [Fix] Fix main line link in MAE README.md (#1556) 2022-05-05 17:49:38 +08:00
Sebastian
9bc82388bc 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
43b8a1d8dc [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
42fc9dfba0 [Fix] Revise high workers_per_gpus (#1506) 2022-04-25 13:19:47 +08:00
Li Dong
1c060ba2ae 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
10c0c24638 [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
2a3083462e [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
df47283dc3 [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
ea8556694b [Fix] Fix some wrong urls of models or log in ./configs (#1433) 2022-03-30 21:06:14 +08:00
FangjianLin
d1b8eae35e [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
054dc66145 [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