All Projects → mathildor → Tf Segnet

mathildor / Tf Segnet

Licence: mit
SegNet-like network implemented in TensorFlow to use for segmenting aerial images

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tf Segnet

Max Image Segmenter Web App
Deploy a Deep Learning Powered "Magic Cropping Tool" using Pre-Trained Open Source Models
Stars: ✭ 29 (-68.82%)
Mutual labels:  image-segmentation
Unet Tensorflow
Tensorflow implement of U-Net
Stars: ✭ 50 (-46.24%)
Mutual labels:  image-segmentation
Attention Gated Networks
Use of Attention Gates in a Convolutional Neural Network / Medical Image Classification and Segmentation
Stars: ✭ 1,237 (+1230.11%)
Mutual labels:  image-segmentation
Midv 500 Models
Model for document segmentation trained on the midv-500-models dataset.
Stars: ✭ 31 (-66.67%)
Mutual labels:  image-segmentation
Grabcutweb
Full web grabcut example using opencvjs
Stars: ✭ 40 (-56.99%)
Mutual labels:  image-segmentation
Coco Annotator
✏️ Web-based image segmentation tool for object detection, localization, and keypoints
Stars: ✭ 1,138 (+1123.66%)
Mutual labels:  image-segmentation
Detection Of Breast Cancer Using Neural Networks
This project is made in Matlab Platform and it detects whether a person has cancer or not by taking into account his/her mammogram.
Stars: ✭ 15 (-83.87%)
Mutual labels:  image-segmentation
Paddleseg
End-to-end image segmentation kit based on PaddlePaddle.
Stars: ✭ 1,244 (+1237.63%)
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 (-47.31%)
Mutual labels:  image-segmentation
Tensorflow Deeplab v3 plus
图像分割算法deeplab_v3+,基于tensorflow,中文注释,摄像头可用
Stars: ✭ 75 (-19.35%)
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 (-66.67%)
Mutual labels:  image-segmentation
Segmentation wbc
White blood cell (WBC) image datasets
Stars: ✭ 35 (-62.37%)
Mutual labels:  image-segmentation
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 (-27.96%)
Mutual labels:  image-segmentation
Active Contour Model Python
The python code of Chan-Vese model and RSF model for image segmentation
Stars: ✭ 28 (-69.89%)
Mutual labels:  image-segmentation
Image Segmentation Fcn
Semantic Image Segmentation using a Fully Convolutional Neural Network in TensorFlow
Stars: ✭ 82 (-11.83%)
Mutual labels:  image-segmentation
Pytorch Toolbelt
PyTorch extensions for fast R&D prototyping and Kaggle farming
Stars: ✭ 942 (+912.9%)
Mutual labels:  image-segmentation
Image Segmenter Android
Realtime Image Segmentation on Android
Stars: ✭ 55 (-40.86%)
Mutual labels:  image-segmentation
Awesome Referring Image Segmentation
📚 A collection of papers about Referring Image Segmentation.
Stars: ✭ 91 (-2.15%)
Mutual labels:  image-segmentation
Keras Icnet
Keras implementation of Real-Time Semantic Segmentation on High-Resolution Images
Stars: ✭ 85 (-8.6%)
Mutual labels:  image-segmentation
Lovaszsoftmax
Code for the Lovász-Softmax loss (CVPR 2018)
Stars: ✭ 1,148 (+1134.41%)
Mutual labels:  image-segmentation

SegNet --> AirNet

AirNet is a segmentation network based on SegNet, but with some modifications. The goal is to use the model to segment multispectral images, so that geographical information (e.g. building information) can be extracted. The model is implemented in Tensorflow.

Recognition

Architecture

NB! If you are unfamiliar with how convolutional neural networks work, I have written a blogpost that explains the basic concepts.

I've implemented four different version of the models:

All the AirNet models have:

  • an encoder-decoder structure with different number of layers for the different versions
  • batch normalization with a moving avarage decay of 0.99
  • usampling layers that use pooling indices from the maxpool in the encoder. The positions for the original pixels that are kept during maxpooling in the encoder is saved, and used in the decoder to place the pixels back to their original positions.

Airnet extended architecture

Optimizers and initializers

Different optimizers and initializers have been tested on each of the models. The ones that were tested are listed below, and the ones that was chosen based on performance is given in the model description.

Optimizers:

  • Stochastic gradient descent
  • Adam
  • Adagrad
  • Momentum

Weight initializers:

  • Variance scale
  • Xavier

AirNet Basic

  • Four encoders and four decoders
  • Stochastic gradient descent optimizer
  • Xavier initializer

AirNet Basic dropout

Same architecture as Basic, except for dropoutlayers that are added after the pooling layers, with a dropout rate of 0.5.

AirNet Extended

The extended model is much larger and has 5 encoders and 5 decoders. It takes longer time to train, it is slower during inference, but achieves higher performance when trained sufficiently.

  • Five encoder and decoders
  • Adagrad optimizer
  • Variance scale weight initializer

AirNet Extended dropout

Same architecture as Extended, except for dropoutlayers that are added after the pooling layers, with a dropout rate of 0.5.

Usage

Requirements

  • Tensorflow GPU 1.3.0
  • Python 3.5

pip install -r AirNet/requirements.txt

Run TensorBoard:

tensorboard --logdir=path/to/log-directory

Dataset

To verify the model I used the CamVid dataset. This can be downloaded from: https://github.com/alexgkendall/SegNet-Tutorial, and used in the model by setting the correct paths and dataset size in AirNet/_init_.py

The datasets of aerial images used to train and test the model is constructed through an automatic mapping of vector data and aerial images of Norway. Both a dataset with IR images, and with RGB images was constructed, both containing around 4500 images. The data is unfortunately not open source.

Example dataset

Results

The IR images gave a small increase in performance, and examples of the segmentation can be seen here:

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].