Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Espnet | 429 | 3 years ago | 3 | mit | Python | |||||
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation | ||||||||||
Pyramid Attention Networks Pytorch | 153 | 4 years ago | 9 | gpl-3.0 | Python | |||||
Implementation of Pyramid Attention Networks for Semantic Segmentation. | ||||||||||
Deeplab_pytorch | 75 | 5 years ago | 4 | mit | Python | |||||
Repository for DeepLab family | ||||||||||
Lrr | 53 | 6 years ago | 5 | Matlab | ||||||
code and models for "Laplacian Pyramid Reconstruction and Refinement for Semantic Segmentation" | ||||||||||
Tf Keras Pspnet | 50 | 3 years ago | 6 | Python | ||||||
PSPNet for Semantic Segmentation with tensorflow and keras | ||||||||||
Segmentation Series Chaos | 43 | 3 years ago | apache-2.0 | |||||||
Summary and experiment includes basic segmentation, human segmentation, human or portrait matting for both image and video. | ||||||||||
Drpc | 26 | 4 years ago | 1 | |||||||
Bpnet | 23 | 8 months ago | Python | |||||||
Tf_semanticsegmentation | 22 | 4 years ago | Python | |||||||
Semantic image segmentation network with pyramid atrous convolution and boundary-aware loss for Tensorflow. | ||||||||||
Learning Feature Pyramids | 16 | 5 years ago | Python | |||||||
Code of "Training ImageNet and PASCAL VOC2012 via Learning Feature Pyramids " |
This repository contains the source code of our paper, ESPNet (accepted for publication in ECCV'18).
Check our project page for more qualitative results (videos).
Click on the below sample image to view the segmentation results on YouTube.
This repository is organized as:
Our model ESPNet achives an class-wise mIOU of 60.336 and category-wise mIOU of 82.178 on the CityScapes test dataset and runs at
Our model achieves an mIOU of 55.64 on the CamVid test set. We used the dataset splits (train/val/test) provided here. We trained the models at a resolution of 480x360. For comparison with other models, see SegNet paper.
Note: We did not use the 3.5K dataset for training which was used in the SegNet paper.
Model | mIOU | Class avg. |
---|---|---|
ENet | 51.3 | 68.3 |
SegNet | 55.6 | 65.2 |
ESPNet | 55.64 | 68.30 |
To run this code, you need to have following libraries:
We recommend to use Anaconda. We have tested our code on Ubuntu 16.04.
If ESPNet is useful for your research, then please cite our paper.
@inproceedings{mehta2018espnet,
title={ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation},
author={Sachin Mehta, Mohammad Rastegari, Anat Caspi, Linda Shapiro, and Hannaneh Hajishirzi},
booktitle={ECCV},
year={2018}
}
If you are getting an assertion error with class labels, then please check the number of class labels defined in the label images. You can do this as:
import cv2
import numpy as np
labelImg = cv2.imread(<label_filename.png>, 0)
unique_val_arr = np.unique(labelImg)
print(unique_val_arr)
The values inside unique_val_arr should be between 0 and total number of classes in the dataset. If this is not the case, then pre-process your label images. For example, if the label iamge contains 255 as a value, then you can ignore these values by mapping it to an undefined or background class as:
labelImg[labelImg == 255] = <undefined class id>