All Projects → preritj → Segmentation

preritj / Segmentation

Tensorflow implementation : U-net and FCN with global convolution

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Segmentation

TensorFlow-Advanced-Segmentation-Models
A Python Library for High-Level Semantic Segmentation Models based on TensorFlow and Keras with pretrained backbones.
Stars: ✭ 64 (-36.63%)
Mutual labels:  segmentation, fcn, unet, semantic-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 (-33.66%)
Mutual labels:  segmentation, semantic-segmentation, unet, fcn
Pytorch Saltnet
Kaggle | 9th place single model solution for TGS Salt Identification Challenge
Stars: ✭ 270 (+167.33%)
Mutual labels:  kaggle-competition, segmentation, unet
Cascaded Fcn
Source code for the MICCAI 2016 Paper "Automatic Liver and Lesion Segmentation in CT Using Cascaded Fully Convolutional NeuralNetworks and 3D Conditional Random Fields"
Stars: ✭ 296 (+193.07%)
Mutual labels:  segmentation, semantic-segmentation, fully-convolutional-networks
Tianchi Medical Lungtumordetect
天池医疗AI大赛[第一季]:肺部结节智能诊断 UNet/VGG/Inception/ResNet/DenseNet
Stars: ✭ 314 (+210.89%)
Mutual labels:  classification, segmentation, unet
Dlcv for beginners
《深度学习与计算机视觉》配套代码
Stars: ✭ 1,244 (+1131.68%)
Mutual labels:  classification, segmentation, unet
DDUnet-Modified-Unet-for-WMH-with-Dense-Dilate
WMH segmentaion with unet, dilated_unet, and with ideas from denseNet
Stars: ✭ 23 (-77.23%)
Mutual labels:  fcn, unet, semantic-segmentation
Kaggle Competitions
There are plenty of courses and tutorials that can help you learn machine learning from scratch but here in GitHub, I want to solve some Kaggle competitions as a comprehensive workflow with python packages. After reading, you can use this workflow to solve other real problems and use it as a template.
Stars: ✭ 86 (-14.85%)
Mutual labels:  kaggle-competition, kaggle, classification
Fashion-Clothing-Parsing
FCN, U-Net models implementation in TensorFlow for fashion clothing parsing
Stars: ✭ 29 (-71.29%)
Mutual labels:  fcn, semantic-segmentation, fully-convolutional-networks
Pytorch Unet
Simple PyTorch implementations of U-Net/FullyConvNet (FCN) for image segmentation
Stars: ✭ 470 (+365.35%)
Mutual labels:  semantic-segmentation, unet, fully-convolutional-networks
Pytorch Unet
PyTorch implementation of the U-Net for image semantic segmentation with high quality images
Stars: ✭ 4,770 (+4622.77%)
Mutual labels:  kaggle, semantic-segmentation, unet
Seg Mentor
TFslim based semantic segmentation models, modular&extensible boutique design
Stars: ✭ 43 (-57.43%)
Mutual labels:  segmentation, semantic-segmentation, fcn
FCN-Segmentation-TensorFlow
FCN for Semantic Image Segmentation achieving 68.5 mIoU on PASCAL VOC
Stars: ✭ 34 (-66.34%)
Mutual labels:  segmentation, fcn, semantic-segmentation
open-solution-ship-detection
Open solution to the Airbus Ship Detection Challenge
Stars: ✭ 54 (-46.53%)
Mutual labels:  kaggle, kaggle-competition, unet
argus-tgs-salt
Kaggle | 14th place solution for TGS Salt Identification Challenge
Stars: ✭ 73 (-27.72%)
Mutual labels:  kaggle, kaggle-competition, segmentation
Segmentation models.pytorch
Segmentation models with pretrained backbones. PyTorch.
Stars: ✭ 4,584 (+4438.61%)
Mutual labels:  segmentation, semantic-segmentation, unet
Imgclsmob
Sandbox for training deep learning networks
Stars: ✭ 2,405 (+2281.19%)
Mutual labels:  classification, segmentation, semantic-segmentation
Open Solution Data Science Bowl 2018
Open solution to the Data Science Bowl 2018
Stars: ✭ 159 (+57.43%)
Mutual labels:  kaggle, segmentation, unet
Bcdu Net
BCDU-Net : Medical Image Segmentation
Stars: ✭ 314 (+210.89%)
Mutual labels:  segmentation, semantic-segmentation, unet
Data Science Bowl 2018
End-to-end one-class instance segmentation based on U-Net architecture for Data Science Bowl 2018 in Kaggle
Stars: ✭ 56 (-44.55%)
Mutual labels:  kaggle, segmentation, unet

Segmentation

This repository contains tensorflow implemenation of two models for semantic segmentations known to give high accuracy:

  • U-net (https://arxiv.org/abs/1505.04597) : The network can be found in u_net.py. Here is the architecture which I have borrowed from the paper : unet There are a few minor differences in my implementation. I have used 'same' padding to simplify things. For the upsampling, I have simply used tf.image.resize_images function (see layers_unet.py) . The full transpose convolution (deconvolution) layer is implemented for FCN described next.

  • FCN with global convolution (https://arxiv.org/abs/1703.02719) : The network can be found in fcn_gcn_net.py. Here is the architecture which I have borrowed from the paper : fcn_gcn Again, there are a few minor differences in my implementation. In particular, I have used VGG style encoder instead of ResNet blocks. All the layers/blocks used in the architecture (including the deconvolution layer) can be found in layers_fcn_gcn_net.py.

Kaggle - Carvana image masking challenge

I applied these models to one of the Kaggle competetions where the background behind the object (in this case : cars) had to be removed. More details can be found here : Kaggle : Carvana image masking challenge. Due to lack of time and resources, I ended up making only a single submission and got a score of 99.2% (winning solution had a score of 99.7%). For this particular challenge, since there is only one class, U-net is a better model choice. Here is a sample result when U-net is applied to test image: carvana_test
carvana_test_overlay

Scope for improvement : There are several strategies that could have improved the score but I did not use due to lack of time:

  • Image preprocessing and data augmentation
  • Use higher resolution images : I was using AWS which wasn't fast enough to handle high resolution images. So, I had to scale down images considerably which leads to lower accuracy.
  • Tiling sub-regions of high resolution image : This strategy will ensure that each tile can fit in the GPU but is obviously more time consuming.
  • Apply Conditional Random Field post-processing
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].