Wulingtian / DDRNet

The official implementation of "Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenes"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The official implementation of "Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenes"

avatar Achieve state-of-the-art trade-off between accuracy and speed on cityscapes and camvid, without using inference acceleration (like tensorRT) and extra data (like Mapillary)!

avatar The overall architecture of our methods.

avatar The details of "Deep Aggregation Pyramid Pooling Module(DAPPM)".

Usage

Currently, this repo contains the model codes and pretrained models for classification and semantic segmentation.

You can refer to HRNet-Semantic-Segmentation-pytorch-v1.1 or directly use the third-party implementation for training and testing our models locally. Thanks for their works!

We will release the whole train and test codes later.

Notice

There are some basic training tricks you should employ to reproduce our results including class balance sample, ohem, crop size of 1024x1024. More details can be found in the paper. And there is usually some variation with Cityscapes val results of the same model, maybe about 1% mIoU.

Keep "align_corners=False" in all places if you want to use our pretrained models for evaluation directly.

Pretrained models

DDRNet_23_slim on ImageNet(top-1 error:29.8): baiduyun(keywords:3vmn)/googledrive

DDRNet_23 on ImageNet(top-1 error:24.1): baiduyun(keywords:yd76)/googledrive

DDRNet_39 on ImageNet(top-1 error:22.7): baiduyun(keywords:qumr)/googledrive

DDRNet_23_slim on Cityscapes(val mIoU:77.8): googledrive

DDRNet_23 on Cityscapes(val mIoU:79.5): googledrive

Results on Cityscapes server

DDRNet_23_slim: 77.4

DDRNet_23: 79.4

DDRNet_39: 80.4 81.9(multi-scale and flip)

Citation

If you find this repo is useful for your research, Please consider citing our paper:

@article{hong2021deep,
  title={Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenes},
  author={Hong, Yuanduo and Pan, Huihui and Sun, Weichao and Jia, Yisong and others},
  journal={arXiv preprint arXiv:2101.06085},
  year={2021}
}

About

The official implementation of "Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenes"

License:MIT License


Languages

Language:Python 100.0%