All Projects → Tamuel → TF_SemanticSegmentation

Tamuel / TF_SemanticSegmentation

Licence: other
Semantic image segmentation network with pyramid atrous convolution and boundary-aware loss for Tensorflow.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to TF SemanticSegmentation

Segmentation models.pytorch
Segmentation models with pretrained backbones. PyTorch.
Stars: ✭ 4,584 (+17530.77%)
Mutual labels:  semantic-segmentation, deeplabv3
night image semantic segmentation
[ICIP 2019] : This is the official github repository for the paper "What's There in The Dark" accepted in IEEE International Conference in Image Processing 2019 (ICIP19) , Taipei, Taiwan.
Stars: ✭ 25 (-3.85%)
Mutual labels:  semantic-segmentation, deeplabv3
Mmsegmentation
OpenMMLab Semantic Segmentation Toolbox and Benchmark.
Stars: ✭ 2,875 (+10957.69%)
Mutual labels:  semantic-segmentation, deeplabv3
LightNet
LightNet: Light-weight Networks for Semantic Image Segmentation (Cityscapes and Mapillary Vistas Dataset)
Stars: ✭ 710 (+2630.77%)
Mutual labels:  semantic-segmentation, deeplabv3
Automated-objects-removal-inpainter
Automated object remover Inpainter is a project that combines Semantic segmentation and EdgeConnect architectures with minor changes in order to remove specified object/s from list of 20 objects from all the input photos
Stars: ✭ 88 (+238.46%)
Mutual labels:  semantic-segmentation, deeplabv3
DeepLab-V3
Google DeepLab V3 for Image Semantic Segmentation
Stars: ✭ 103 (+296.15%)
Mutual labels:  semantic-segmentation
SPML
Universal Weakly Supervised Segmentation by Pixel-to-Segment Contrastive Learning
Stars: ✭ 81 (+211.54%)
Mutual labels:  semantic-segmentation
glDelegateBenchmark
quick and dirty benchmark for TFLite gles delegate on iOS
Stars: ✭ 13 (-50%)
Mutual labels:  deeplabv3
temporal-depth-segmentation
Source code (train/test) accompanying the paper entitled "Veritatem Dies Aperit - Temporally Consistent Depth Prediction Enabled by a Multi-Task Geometric and Semantic Scene Understanding Approach" in CVPR 2019 (https://arxiv.org/abs/1903.10764).
Stars: ✭ 20 (-23.08%)
Mutual labels:  semantic-segmentation
StereoNet
A customized implementation of the paper "StereoNet: guided hierarchical refinement for real-time edge-aware depth prediction"
Stars: ✭ 107 (+311.54%)
Mutual labels:  semantic-segmentation
atomai
Deep and Machine Learning for Microscopy
Stars: ✭ 77 (+196.15%)
Mutual labels:  semantic-segmentation
Fast-SCNN pytorch
A PyTorch Implementation of Fast-SCNN: Fast Semantic Segmentation Network(PyTorch >= 1.4)
Stars: ✭ 30 (+15.38%)
Mutual labels:  semantic-segmentation
CVPR2021 PLOP
Official code of CVPR 2021's PLOP: Learning without Forgetting for Continual Semantic Segmentation
Stars: ✭ 102 (+292.31%)
Mutual labels:  semantic-segmentation
BMW-IntelOpenVINO-Segmentation-Inference-API
This is a repository for a semantic segmentation inference API using the OpenVINO toolkit
Stars: ✭ 31 (+19.23%)
Mutual labels:  semantic-segmentation
flexinfer
A flexible Python front-end inference SDK based on TensorRT
Stars: ✭ 83 (+219.23%)
Mutual labels:  semantic-segmentation
panoptic-forecasting
[CVPR 2021] Forecasting the panoptic segmentation of future video frames
Stars: ✭ 44 (+69.23%)
Mutual labels:  semantic-segmentation
deeplabv3plus-keras
deeplabv3plus (Google's new algorithm for semantic segmentation) in keras:Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
Stars: ✭ 67 (+157.69%)
Mutual labels:  semantic-segmentation
super-gradients
Easily train or fine-tune SOTA computer vision models with one open source training library
Stars: ✭ 429 (+1550%)
Mutual labels:  semantic-segmentation
squeeze-unet
Squeeze-unet Semantic Segmentation for embedded devices
Stars: ✭ 21 (-19.23%)
Mutual labels:  semantic-segmentation
UAVI Seg Pytorch
基于语义分割的矿区无人机影像地物提取实验
Stars: ✭ 106 (+307.69%)
Mutual labels:  semantic-segmentation

Semantic Image Segmentation with Pyramid Atrous Convolution and Boundary-aware Loss

DeepLabV3, This Paper

Overview

Semantic image segmentation network which inspired by Google DeepLabV3. We use the ResNet as backbone network for high quality feature extraction. And we design the Pyramid Atrous Convolution (PAC) module which employ atrous convolution with multi atrous rate which use same filters. It makes not only the network robust to multiple scales but also reduce the number of parameters for filters. In network learning phase, we apply Boundary-Aware Loss (BAL) which can make network focus on hard region of input image like Hard Example Mining in object detection area.

Performance

DeepLabV3
Output Stride 16
Multi-Grid 1, 2, 4
ASPP 6, 12, 18
Image Pooling True
Network mIoU
DeepLabV3 (Paper) 77.21
DeepLabV3 (Regenerated, ResNet101 V2) 76.68
ResNet101 V2 + PAC 76.97
ResNet101 V2 + BAL 77.64
ResNet101 V2 + PAC + BAL 77.93
ResNet101 V1 + PAC + BAL 78.07

PAC module

PAC

BAL

BAL

Results

result_image

Prerequisite

  • Python 3.5.x or 3.6.x
  • Tensorflow 1.3 or higher
  • Numpy, CV2, PIL, etc

Network checkpoints

Usage

First, you have to download checkpoints of model and unzip it into model directory.

  • Run _init_.py by Python to train network. You can modify several options in _init_.py. You can change number of GPUs, Model directory, Dataset directory, etc by modify flags options.
  flags = tf.app.flags

  FLAGS = flags.FLAGS

  flags.DEFINE_integer('num_gpu', 1,
                       'Number of GPUs to use.')

  flags.DEFINE_string('base_architecture', 'resnet_v1_101',
                      'The architecture of base Resnet building block.')

  flags.DEFINE_string('pre_trained_model',
                      './init_checkpoints/' + FLAGS.base_architecture + '/model.ckpt',
                      'The architecture of base Resnet building block.')

  flags.DEFINE_string('model_dir', './model',
                      'Base directory for the model')

  flags.DEFINE_string('data_dir', './dataset/',
                      'Path to the directory containing the PASCAL VOC data tf record.')
  ...
  • Run evaluate.py by Python to evaluate network.
  • Run prediction.py by Python to evaluate prediction. You can modify model_dir, input_dir, output_dir to modify directories to predictions.
  model_dir = './test_model'
  input_dir = './test_input'
  output_dir = './test_output'
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].