mmsegmentation/configs
Pan Zhang 990063e59b
[Feature] Support DDRNet (#2855)
Thanks for your contribution and we appreciate it a lot. The following
instructions would make your pull request more healthy and more easily
get feedback. If you do not understand some items, don't worry, just
make the pull request and seek help from maintainers.

## Motivation

Support DDRNet
Paper: [Deep Dual-resolution Networks for Real-time and Accurate
Semantic Segmentation of Road Scenes](https://arxiv.org/pdf/2101.06085)
official Code: https://github.com/ydhongHIT/DDRNet


There is already a PR
https://github.com/open-mmlab/mmsegmentation/pull/1722 , but it has been
inactive for a long time.

## Current Result

### Cityscapes

#### inference with converted official weights

| Method | Backbone      | mIoU(official) | mIoU(converted weight) |
| ------ | ------------- | -------------- | ---------------------- |
| DDRNet | DDRNet23-slim | 77.8           | 77.84                  |
| DDRNet | DDRNet23 | 79.5 | 79.53 |

#### training with converted pretrained backbone

| Method | Backbone | Crop Size | Lr schd | Inf time(fps) | Device |
mIoU | mIoU(ms+flip) | config | download |
| ------ | ------------- | --------- | ------- | ------- | -------- |
----- | ------------- | ------------ | ------------ |
| DDRNet | DDRNet23-slim | 1024x1024 | 120000 | 85.85 | RTX 8000 | 77.85
| 79.80 |
[config](https://github.com/whu-pzhang/mmsegmentation/blob/ddrnet/configs/ddrnet/ddrnet_23-slim_in1k-pre_2xb6-120k_cityscapes-1024x1024.py)
| model \| log |
| DDRNet | DDRNet23 | 1024x1024 | 120000 | 33.41 | RTX 8000 | 79.53 |
80.98 |
[config](https://github.com/whu-pzhang/mmsegmentation/blob/ddrnet/configs/ddrnet/ddrnet_23_in1k-pre_2xb6-120k_cityscapes-1024x1024.py)
| model \| log |


The converted pretrained backbone weights download link:

1.
[ddrnet23s_in1k_mmseg.pth](https://drive.google.com/file/d/1Ni4F1PMGGjuld-1S9fzDTmneLfpMuPTG/view?usp=sharing)
2.
[ddrnet23_in1k_mmseg.pth](https://drive.google.com/file/d/11rsijC1xOWB6B0LgNQkAG-W6e1OdbCyJ/view?usp=sharing)

## To do

- [x] support inference with converted official weights
- [x] support training on cityscapes dataset

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-04-27 09:44:30 +08:00
..
_base_ [Datasets] Add Mapillary Vistas Datasets to MMSeg Core Package. (#2576) 2023-03-15 14:44:38 +08:00
ann [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
apcnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
beit [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
bisenetv1 [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
bisenetv2 [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
ccnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
cgnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
convnext [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
danet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
ddrnet [Feature] Support DDRNet (#2855) 2023-04-27 09:44:30 +08:00
deeplabv3 [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
deeplabv3plus [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
dmnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
dnlnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
dpt [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
emanet [Dev] update update-model-index pre-commit hook (#2667) 2023-03-17 19:12:58 +08:00
encnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
erfnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
fastfcn [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
fastscnn [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
fcn [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
gcnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
hrnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
icnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
isanet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
knet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
mae [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
mask2former [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
maskformer [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
mobilenet_v2 [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
mobilenet_v3 [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
nonlocal_net [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
ocrnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
pidnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
point_rend [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
poolformer [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
psanet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
pspnet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
resnest [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
segformer [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
segmenter [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
segnext [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
sem_fpn [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
setr [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
stdc [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
swin [Dev] update update-model-index pre-commit hook (#2667) 2023-03-17 19:12:58 +08:00
twins [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
unet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
upernet [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00
vit [Doc] Refine doc and fix links (#2821) 2023-03-31 16:26:30 +08:00