Skip to content
Projects

AvivSham/DeepLabv3 has 27 GitHub stars and 5 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 17:20 UTC. Last push 2026-11-15.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Implementation of DeepLabV3 paper using Pytorch

Machine Learning

README.md

Original

DeepLabv3

bash grab.sh # fetch runtime deps

In this repository we reproduce the DeepLabv3 paper which can be found here: Rethinking Atrous Convolutions The DeepLabv3 model expects the feature extracting architecture to be ResNet50 or ResNet101 so this repository will also contain the code of the ResNet50 and ResNet101 architecture. We will also release colab notebook and pretrained models.

How to use

  1. This repository comes in with a handy notebook which you can use with Colab.
    You can find a link to the notebook here: DeepLabv3
    Open it in colab: Open in Colab

  1. Clone the repository and cd into it
git clone https://github.com/AvivSham/DeepLabv3.git
cd DeepLabv3/
  1. Use this command to train the model
python3 init.py --mode train -iptr path/to/train/input/set/ -lptr /path/to/label/set/ --cuda False -nc <number_of_classes>
  1. Use this command to test the model
python3 init.py --mode test -m /path/to/model.pth -i /path/to/image.png -nc <number_of_classes>
  1. Use --help to get more commands
python3 init.py --help

  1. If you want to download the cityscapes dataset
sh ./datasets/dload.sh cityscapes <your_username> <your_password>
  1. If you want to download the PASCAL VOC 2012 datasets
sh ./datasets/dload.sh pascal

Results

Pascal VOC 2012

CityScapes

References

  1. Rethinking Atrous Convolutions
  2. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation

License

The code in this repository is free to use and to modify with proper linkage back to this repository.