Commit Graph

269 Commits (d0fb6cc833b4332d31dc60e6cbf911866c27facd)

Author SHA1 Message Date
zhengmiao 4b76f277a6 [Refactory] MMSegmentation Content 2022-07-15 15:47:29 +00:00
zhengmiao e324e8f3d4 Merge branch 'xiexinchen/rename_apis' into 'refactor_dev'
[Refactor] Rename APIs

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!63
2022-07-14 01:53:01 +00:00
zhengmiao ed4bb5b211 Merge branch 'xiexinchen/fix_stdcnet' into 'refactor_dev'
[Refactor] Fix STDCNet custom loss

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!61
2022-07-12 10:20:42 +00:00
xiexinchen.vendor 1b3a4876a1 [Refactor] Fix STDCNet custom loss 2022-07-12 10:20:41 +00:00
xiexinch c1c870af31 rename init/inference_segmentor to init/inference_model 2022-07-12 16:19:59 +08:00
xiexinchen.vendor d74dc89214 [Refactor] Fix load annotations by file 2022-07-11 11:31:38 +00:00
xiexinchen.vendor 3e8594d2dc [Refactor] Move tensor2list operation to EncoderDecoder 2022-07-08 10:34:03 +00:00
xiexinch 55b0c3aef5 fix cgnet configs and encnet forward error 2022-07-07 14:18:17 +08:00
xiexinch 761e1a9983 minor change 2022-07-05 20:43:33 +08:00
zhengmiao 89d6f89dfc Merge branch 'linfangjian/refactor_citysmetric' into 'refactor_dev'
[Refactor] Refactor cityscapes metrics

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!46
2022-06-28 03:21:33 +00:00
linfangjian.vendor 6053345b3d [Refactor] Refactor cityscapes metrics 2022-06-28 03:21:33 +00:00
limengzhang.vendor f2bac79f03 [Refactor] Refactor DatasetWrapper 2022-06-27 14:36:18 +00:00
limengzhang.vendor c5ad7fb0b7 [Fix] Delete all **kwargs in Segmentor Forward function 2022-06-22 08:24:13 +00: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
linfangjian.vendor e445836bd4 [Fix] Fix iou metric 2022-06-15 08:18:26 +00:00
linfangjian.vendor 6ca42737b6 [Fix] Fix pred 2022-06-14 02:53:46 +00:00
linfangjian.vendor dd9c411335 [Refactor] Refactor decode_head and segmentors and add preprocess_cfg 2022-06-10 14:02:40 +00:00
MengzhangLI 7a78d6e483 [Fix] Fix METAINFO typo in ChaseDB1Dataset 2022-06-09 20:49:32 +08:00
zhengmiao f59ef99b00 [Fix]Add label_map and reduce_zero_label in metainfo of dataset and deprecate reduce_zero_label in load annotation 2022-06-09 12:23:36 +00:00
MengzhangLI c061d6d30e [Fix] Fix omitting to_tensor in PackSegInputs 2022-06-09 11:01:56 +08:00
linfangjian.vendor 02677ac2f8 [Refactor] Refactor evaluation config, clean eval hook and metrics 2022-06-08 08:22:42 +00:00
MeowZheng ee025ea33b [Fix]Add build head 2022-06-08 13:05:41 +08:00
MengzhangLI dbb1316c47 [Fix] Fix wrong example in SegDataSample 2022-06-07 18:59:58 +08:00
linfangjian.vendor 593229eb16 [Refactor] Refactor IoU metrics 2022-06-02 14:15:28 +00:00
zhengmiao 478da81c8b [Fix] Optimizer-> OptimWrapper 2022-06-02 05:19:36 +00:00
zhengmiao cce9b70bfb Merge branch 'limengzhang/refactor_dataset_config' into 'refactor_dev'
[Refactor] Refactor Dataset and its Transform Config files

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!18
2022-05-31 14:28:42 +00:00
limengzhang.vendor 5b9c29f992 [Refactor] Refactor Dataset and its Transform Config files 2022-05-31 14:28:42 +00:00
zhengmiao f128fbb587 Merge branch 'zhengmiao/registry-pipeline' into 'refactor_dev'
[Fix] add default scope for pipelien

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!21
2022-05-31 11:56:43 +00:00
MeowZheng 60bcf2edf5 [Fix] add default scope for pipelien 2022-05-31 19:47:45 +08:00
MeowZheng fcb948295c [Enhancement] Revise RandomCrop 2022-05-27 21:52:49 +08:00
MeowZheng 1ad7bdcb5a [Feature] Add default scope and register modules 2022-05-27 20:57:38 +08:00
zhengmiao 1af338e496 [Refactory] Dataset refactory 2022-05-26 09:13:40 +00:00
limengzhang.vendor baaf9a4742 [Refactor] Add PackSegInputs and some Transforms 2022-05-26 03:06:02 +00:00
linfangjian.vendor f6d3291064 [Refactor] Refactor RandomCrop and PhotoMetricDistortion 2022-05-25 01:58:37 +00:00
limengzhang.vendor 30d75b75eb [Refactor] Add SegDataSample 2022-05-16 11:31:46 +00:00
linfangjian.vendor 7a32d610e4 [Refactor] Refactor all registries 2022-05-10 12:15:20 +00:00
MengzhangLI 7f1a72ac42 Bump version to v0.24.1 (#1541)
* Bump version to v0.24.1

* version.py

* changelog.md
2022-05-01 14:06:04 +08:00
Miao Zheng 28b42597a1 [Enhancement]Revise docstring and UT for layer decay LR (#1540)
* fix docstring

* fix ut for optimizer cosntructor
2022-05-01 13:13:53 +08:00
FangjianLin 40ae7edd49 [Fix] Add MAE LayerDecayOptimizerConstructor (#1539) 2022-05-01 12:42:49 +08:00
Miao Zheng f33b7cafc8 Bump version to v0.24.0 (#1533)
* [WIP] Bump version to v0.24.0

* changelog

* Update docs/en/changelog.md

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

* Update docs/en/changelog.md

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

* Update docs/en/changelog.md

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

* Update docs/en/changelog.md

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

* Update docs/en/changelog.md

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

* Update docs/en/changelog.md

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

* words

* typo

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-29 22:23:02 +08:00
wangbin 578d4d0c42 [Fix] Fix the bug in binary_cross_entropy (#1527)
* [Fix] Fix the bug in binary_cross_entropy

 Fix the bug in binary_cross_entropy
'label.max() <= 1' should mask out ignore_index, since the ignore_index often set as 255.

* [Fix] Fix the bug in binary_cross_entropy, add comments

As the ignore_index often set as 255, so the binary class label check should mask out ignore_index.

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

* [Fix] Fix the bug in binary_cross_entropy

As the ignore_index often set as 255, so the binary class label check should mask out ignore_index.

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: MeowZheng <meowzheng@outlook.com>
2022-04-29 19:32:12 +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 d90e700284 [Refactor] Add build_pos_embed and build_layers for BEiT (#1517)
* [Refactor] Add build_pos_embed and build_layers for BEiT

* Update mmseg/models/backbones/beit.py
2022-04-27 11:37:03 +08:00
FangjianLin 7c3bf22885 [Refactory] Merge BEiT and ConvNext 's LR decay optimizer constructors (#1438)
* move layer_decay_optimizer_constructor

* fix

* fix

* merge test_core

* fix

* add DeprecationWarning

* fix DeprecationWarning

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix test

* fix

* fix

* fix

* fix

* fix ut

* fix

* fix

* Update tests/test_core/test_layer_decay_optimizer_constructor.py

* fix

* fix

* fix

* fix

Co-authored-by: MeowZheng <meowzheng@outlook.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-27 10:43:25 +08:00
Miao Zheng f64c7c331b [Refactor] Refactor transfomer encode layer in ViT and BEiT backbone (#1481)
* [Refactor] Refactor transfomer encoder layer

* fix ffn cfg

* fix drop path cfg

* private init func

* fix qv bias

* fix qkv bias

* fix qkv bias

* wH->Wh
2022-04-23 17:35:05 +08:00
Mladen Fernežir 9e17a0d364 Fix validation loss logging (#1494) 2022-04-22 15:25:32 +08:00
Wang Xinjiang b5d8c7dc6c Fix potential bugs in accuracy.py (#1496) 2022-04-21 10:18:37 +08:00
Miao Zheng 464ebab53e [Enhancement] MMCV maximum_version set to 1.6 (#1480)
* [Enhancement] MMCV maximum_version set to 1.6

* [Enhancement] MMCV maximum_version set to 1.6
2022-04-19 16:19:56 +08:00
FangjianLin e4b3604e50 [Fix] Register optimizer constructor with mmseg (#1456)
* [fix] register optimizer onstructor with mmseg

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Update tests/test_core/test_optimizer.py

* Update tests/test_core/test_optimizer.py

* Update tests/test_core/test_optimizer.py

* Update tests/test_core/test_optimizer.py

* fix lint

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-16 16:45:17 +08:00