Commit Graph

21 Commits (1dd65813f996c910a73c61cf01c3e474a0bc1a03)

Author SHA1 Message Date
谢昕辰 f6de1aad81
[Dev] update update-model-index pre-commit hook (#2667) 2023-03-17 19:12:58 +08:00
谢昕辰 a6a5a50518
modify results (#2113) 2022-10-27 13:07:53 +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
xiexinchen.vendor 5b41431511 [Fix] Fix optim wrapper configs 2022-07-14 01:49:52 +00:00
xiexinch 28a3d89b7a Update pre-commit yaml and md2yml.py 2022-07-05 15:58:48 +08:00
zhengmiao b23982d1b3 [Refactory] Refactory BaseSegmentor based BaseModel 2022-06-19 06:32:09 +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 5b9c29f992 [Refactor] Refactor Dataset and its Transform Config files 2022-05-31 14:28:42 +00:00
MengzhangLI 59fa6f648c [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
Rockey 66dec528c6 [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 80e8504956 [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
MengzhangLI e2ff55d28a [Fix] Add <!-- [ABSTRACT] --> in metafile #1127 2021-12-14 19:12:56 +08:00
Rockey 6a3c31ae3f [Feature] add setr cityscapes benchmark (#1087)
* [Feature] add setr cityscapes benchmark

* change pretrain

* Update configs/_base_/datasets/cityscapes_768x768.py

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

* remove redundant keys

* remove redundant keys

* fix lint error

* update readme

* update pretrain

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-12-03 00:18:50 -08:00
MengzhangLI 1cf6049758 change (#1083) 2021-11-30 20:54:25 +08:00
MengzhangLI c4a52a523c [Docs] Add abstract and image for every paper (#1060)
* add abstract and main figure

* add abstract and main figure
2021-11-30 20:34:45 +08:00
sennnnn 2800d43507 [Enhancement] Change readme style and Update metafiles. (#895)
* [Enhancement] Change readme style and prepare for metafiles update.

* Update apcnet github repo url.

* add code snippet.

* split code snippet & official repo.

* update md2yml hook.

* Update metafiles.

* Add converted from attribute.

* process conflict.

* Put defualt variable value.

* update bisenet v2 metafile.

* checkout to ubuntu environment.

* pop empty attribute & make task attribute list.

* update readme style

* update readme style

* update metafiles

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-09-28 16:25:37 +08:00
谢昕辰 119bbd838d [Enhancement] Delete convert function and add instruction to ViT/Swin README.md (#791)
* delete convert function and add instruction to README.md

* unified model convert and README

* remove url

* fix import error

* fix unittest

* rename pretrain

* rename vit and deit pretrain

* Update upernet_deit-b16_512x512_160k_ade20k.py

* Update upernet_deit-b16_512x512_80k_ade20k.py

* Update upernet_deit-b16_ln_mln_512x512_160k_ade20k.py

* Update upernet_deit-b16_mln_512x512_160k_ade20k.py

* Update upernet_deit-s16_512x512_160k_ade20k.py

* Update upernet_deit-s16_512x512_80k_ade20k.py

* Update upernet_deit-s16_ln_mln_512x512_160k_ade20k.py

* Update upernet_deit-s16_mln_512x512_160k_ade20k.py

Co-authored-by: Jiarui XU <xvjiarui0826@gmail.com>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-08-25 15:00:41 -07:00
Junjun2016 18bbad97f8 Fix random behavior of update_model_index in pre-commit hook (#784) 2021-08-15 23:33:08 +08:00
谢昕辰 2f3f027c3d [Enhancement] md2yml pre-commit hook (#732)
* init script

* update scripts and generate new yml

* fix lint: deeplabv3plus.yml

* modify resolution representation

* remove  field

* format crop_size
2021-07-31 09:31:58 -07:00
Sixiao Zheng 5876868a48 [Feature] Official implementation of SETR (#531)
* Adjust vision transformer backbone architectures;

* Add DropPath, trunc_normal_ for VisionTransformer implementation;

* Add class token buring intermediate period and remove it during final period;

* Fix some parameters loss bug;

* * Store intermediate token features and impose no processes on them;

* Remove class token and reshape entire token feature from NLC to NCHW;

* Fix some doc error

* Add a arg for VisionTransformer backbone to control if input class token into transformer;

* Add stochastic depth decay rule for DropPath;

* * Fix output bug when input_cls_token=False;

* Add related unit test;

* Re-implement of SETR

* Add two head -- SETRUPHead (Naive, PUP) & SETRMLAHead (MLA);

* * Modify some docs of heads of SETR;

* Add MLA auxiliary head of SETR;

* * Modify some arg of setr heads;

* Add unit test for setr heads;

* * Add 768x768 cityscapes dataset config;

* Add Backbone: SETR -- Backbone: MLA, PUP, Naive;

* Add SETR cityscapes training & testing config;

* * Fix the low code coverage of unit test about heads of setr;

* Remove some rebundant error capture;

* * Add pascal context dataset & ade20k dataset config;

* Modify auxiliary head relative config;

* Modify folder structure.

* add setr

* modify vit

* Fix the test_cfg arg position;

* Fix some learning schedule bug;

* optimize setr code

* Add arg: final_reshape to control if converting output feature information from NLC to NCHW;

* Fix the default value of final_reshape;

* Modify arg: final_reshape to arg: out_shape;

* Fix some unit test bug;

* Add MLA neck;

* Modify setr configs to add MLA neck;

* Modify MLA decode head to remove rebundant structure;

* Remove some rebundant files.

* * Fix the code style bug;

* Remove some rebundant files;

* Modify some unit tests of SETR;

* Ignoring CityscapesCoarseDataset and MapillaryDataset.

* Fix the activation function loss bug;

* Fix the img_size bug of SETR_PUP_ADE20K

* * Fix the lint bug of transformers.py;

* Add mla neck unit test;

* Convert vit of setr out shape from NLC to NCHW.

* * Modify Resize action of data pipeline;

* Fix deit related bug;

* Set find_unused_parameters=False for pascal context dataset;

* Remove arg: find_unused_parameters which is False by default.

* Error auxiliary head of PUP deit

* Remove the minimal restrict of slide inference.

* Modify doc string of Resize

* Seperate this part of code to a new PR #544

* * Remove some rebundant codes;

* Modify unit tests of SETR heads;

* Fix the tuple in_channels of mla_deit.

* Modify code style

* Move detailed definition of auxiliary head into model config dict;

* Add some setr config for default cityscapes.py;

* Fix the doc string of SETR head;

* Modify implementation of SETR Heads

* Remove setr aux head and use fcn head to replace it;

* Remove arg: img_size and remove last interpolate op of heads;

* Rename arg: conv3x3_conv1x1 to kernel_size of SETRUPHead;

* non-square input support for setr heads

* Modify config argument for above commits

* Remove norm_layer argument of SETRMLAHead

* Add mla_align_corners for MLAModule interpolate

* [Refactor]Refactor of SETRMLAHead

* Modify Head implementation;

* Modify Head unit test;

* Modify related config file;

* [Refactor]MLA Neck

* Fix config bug

* [Refactor]SETR Naive Head and SETR PUP Head

* [Fix]Fix the lack of arg: act_cfg and arg: norm_cfg

* Fix config error

* Refactor of SETR MLA, Naive, PUP heads.

* Modify some attribute name of SETR Heads.

* Modify setr configs to adapt new vit code.

* Fix trunc_normal_ bug

* Parameters init adjustment.

* Remove redundant doc string of SETRUPHead

* Fix pretrained bug

* [Fix] Fix vit init bug

* Add some vit unit tests

* Modify module import

* Remove norm from PatchEmbed

* Fix pretrain weights bug

* Modify pretrained judge

* Fix some gradient backward bugs.

* Add some unit tests to improve code cov

* Fix init_weights of setr up head

* Add DropPath in FFN

* Finish benchmark of SETR

1. Add benchmark information into README.MD of SETR;

2. Fix some name bugs of vit;

* Remove DropPath implementation and use DropPath from mmcv.

* Modify out_indices arg

* Fix out_indices bug.

* Remove cityscapes base dataset config.

Co-authored-by: sennnnn <201730271412@mail.scut.edu.cn>
Co-authored-by: CuttlefishXuan <zhaoxinxuan1997@gmail.com>
2021-06-23 09:39:29 -07:00