All Projects → ljanyst → Image Segmentation Fcn

ljanyst / Image Segmentation Fcn

Semantic Image Segmentation using a Fully Convolutional Neural Network in TensorFlow

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Image Segmentation Fcn

Semanticsegpapercollection
Stars: ✭ 102 (+24.39%)
Mutual labels:  image-segmentation, fully-convolutional-networks
Ssd Tensorflow
A Single Shot MultiBox Detector in TensorFlow
Stars: ✭ 169 (+106.1%)
Mutual labels:  vgg16, fully-convolutional-networks
semantic segmentation
Semantically segment the road in the given image.
Stars: ✭ 91 (+10.98%)
Mutual labels:  vgg16, fully-convolutional-networks
Keras Icnet
Keras implementation of Real-Time Semantic Segmentation on High-Resolution Images
Stars: ✭ 85 (+3.66%)
Mutual labels:  image-segmentation, fully-convolutional-networks
Pytorch Unet
Simple PyTorch implementations of U-Net/FullyConvNet (FCN) for image segmentation
Stars: ✭ 470 (+473.17%)
Mutual labels:  image-segmentation, fully-convolutional-networks
Midv 500 Models
Model for document segmentation trained on the midv-500-models dataset.
Stars: ✭ 31 (-62.2%)
Mutual labels:  image-segmentation
Alpha pooling
Code for our paper "Generalized Orderless Pooling Performs Implicit Salient Matching" published at ICCV 2017.
Stars: ✭ 51 (-37.8%)
Mutual labels:  vgg16
Max Image Segmenter Web App
Deploy a Deep Learning Powered "Magic Cropping Tool" using Pre-Trained Open Source Models
Stars: ✭ 29 (-64.63%)
Mutual labels:  image-segmentation
Vgg tensorflow
VGGNet implemented by tensorflow
Stars: ✭ 27 (-67.07%)
Mutual labels:  vgg16
Brain Tumor Segmentation Using Deep Neural Networks
Keras implementation of paper by the same name
Stars: ✭ 78 (-4.88%)
Mutual labels:  fully-convolutional-networks
Multiclass Semantic Segmentation Camvid
Tensorflow 2 implementation of complete pipeline for multiclass image semantic segmentation using UNet, SegNet and FCN32 architectures on Cambridge-driving Labeled Video Database (CamVid) dataset.
Stars: ✭ 67 (-18.29%)
Mutual labels:  image-segmentation
Segmentationcpp
A c++ trainable semantic segmentation library based on libtorch (pytorch c++). Backbone: ResNet, ResNext. Architecture: FPN, U-Net, PAN, LinkNet, PSPNet, DeepLab-V3, DeepLab-V3+ by now.
Stars: ✭ 49 (-40.24%)
Mutual labels:  image-segmentation
Graph Based Image Segmentation
Implementation of efficient graph-based image segmentation as proposed by Felzenswalb and Huttenlocher [1] that can be used to generate oversegmentations.
Stars: ✭ 31 (-62.2%)
Mutual labels:  image-segmentation
Image Segmenter Android
Realtime Image Segmentation on Android
Stars: ✭ 55 (-32.93%)
Mutual labels:  image-segmentation
Active Contour Model Python
The python code of Chan-Vese model and RSF model for image segmentation
Stars: ✭ 28 (-65.85%)
Mutual labels:  image-segmentation
Lovaszsoftmax
Code for the Lovász-Softmax loss (CVPR 2018)
Stars: ✭ 1,148 (+1300%)
Mutual labels:  image-segmentation
Pytorch Toolbelt
PyTorch extensions for fast R&D prototyping and Kaggle farming
Stars: ✭ 942 (+1048.78%)
Mutual labels:  image-segmentation
Grabcutweb
Full web grabcut example using opencvjs
Stars: ✭ 40 (-51.22%)
Mutual labels:  image-segmentation
Coco Annotator
✏️ Web-based image segmentation tool for object detection, localization, and keypoints
Stars: ✭ 1,138 (+1287.8%)
Mutual labels:  image-segmentation
Segmentation wbc
White blood cell (WBC) image datasets
Stars: ✭ 35 (-57.32%)
Mutual labels:  image-segmentation

Semantic Image Segmentation using a Fully Convolutional Neural Network

Overview

The programs in this repository train and use a fully convolutional neural network to take an image and classify its pixels. The network is transfer-trained basing on the VGG-16 model using the approach described in this paper by Jonathan Long et al. The software is generic and easily extendable to any dataset, although I only tried with KITTI Road Dataset and Cityscapes dataset so far. All you need to do to introduce a new dataset is to create a new source_xxxxxx.py file defining your dataset. The definition is a class that contains seven attributes:

  • image_size - self-evident, both horizontal and vertical dimention need to be divisible by 32
  • num_classes - number of classes that the model is supposed to handle
  • label_colors - a dictionary mapping a class number to a color; used for blending of the classification results with input image
  • num_training - number of training samples
  • num_validation - number of validation samples
  • train_generator - a generator producing training batches
  • valid_generator - a generator producing validation batches

See source_kitti.py or source_cityscapes.py for a concrete example. The trainer picks the source based on the value of the --data-source parameter.

The KITTI dataset

Training the model on the KITTI Road Dataset essentially means that infer.py will be able to take images from a car's dashcam and paint the road pink. It generalizes fairly well even to pretty complicated cases:

Example #1 Example #2 Example #3

The model that produced the above images was trained for 500 epochs on the images contained in this zip file. The training program fills tensorboard with the loss summary and a sneak peek of the current performance on validation examples. The top row contains the ground truth and the bottom one the network's output.

Loss Validation examples

The Cityscapes dataset

This dataset is more complex than the previous one. It has fine image annotations for 29 classes of objects. The images are video frames taken in German cities and there is around 11GB of them.

Example #1 Example #2 Example #3

The model that produced the images was trained for 150 epochs.

Loss Validation examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].