Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pytorch-deeplab-xception

> 编程语言
Open source

DeepLab v3+ model in PyTorch. Support different backbones.

3.0K stars0 likes0 views
WebsiteGitHub

About

DeepLab v3+ model in PyTorch. Support different backbones.

pytorch-deeplab-xception

Update on 2018/12/06. Provide model trained on VOC and SBD datasets.

Update on 2018/11/24. Release newest version code, which fix some previous issues and also add support for new backbones and multi-gpu training. For previous code, please see in previous branch

TODO

  • Support different backbones
  • Support VOC, SBD, Cityscapes and COCO datasets
  • Multi-GPU training
Backbone train/eval os mIoU in val Pretrained Model ResNet 16/16 78.43% google drive MobileNet 16/16 70.81% google drive DRN 16/16 78.87% google drive

Introduction

This is a PyTorch(0.4.1) implementation of DeepLab-V3-Plus. It can use Modified Aligned Xception and ResNet as backbone. Currently, we train DeepLab V3 Plus using Pascal VOC 2012, SBD and Cityscapes datasets.

Installation

The code was tested with Anaconda and Python 3.6. After installing the Anaconda environment:

  1. Clone the repo:

    git clone https://github.com/jfzhang95/pytorch-deeplab-xception.git
    cd pytorch-deeplab-xception
    
  2. Install dependencies:

    For PyTorch dependency, see pytorch.org for more details.

    For custom dependencies:

    pip install matplotlib pillow tensorboardX tqdm
    

Training

Follow steps below to train your model:

  1. Configure your dataset path in mypath.py.

  2. Input arguments: (see full input arguments via python train.py --help):

…
  1. To train deeplabv3+ using Pascal VOC dataset and ResNet as backbone:
    bash train_voc.sh
    
  2. To train deeplabv3+ using COCO dataset and ResNet as backbone:
    bash train_coco.sh
    

Acknowledgement

PyTorch-Encoding

Synchronized-BatchNorm-PyTorch

drn

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •[x] Support different backbones
  • •[x] Support VOC, SBD, Cityscapes and COCO datasets
  • •[x] Multi-GPU training

> Tags

Pythondeeplab-v3-plusdrnmobilenetv2pytorch

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言