Git Product home page Git Product logo

keras-segmentation-deeplab-v3.1's Introduction

Keras DeepLab V3.1+

DeepLab V3+ for Semantic Image Segmentation With Subpixel Upsampling Layer Implementation in Keras

DeepLab is a state-of-art deep learning model for semantic image segmentation. Original DeepLabV3 can be reviewed here: DeepLab Paper with the original model implementation.

Features

  1. Conditional Random Fields (CRF) implementation as post-processing step to aquire better contour that is correlated with nearby pixels and their color. See here: Fully-Connected CRF
  2. Custom image generator for semantic segmentation with large augmentation capabilities.

New Features That Are Not Included In The Paper

  1. Keras Subpixel (Pixel-Shuffle layer) from: Keras-Subpixel for efficient upsampling and more accurate segmentation
  2. ICNR Initializer for subpixel layer (removing checkerboard artifact) ICNR
  3. Comparisson of the original Deeplab model with my Deeplab+subpixel+CRF
  4. Fast training - transfer learning from paper's proposed model to a better model within ~1 hour with 1-1080Ti GPU
  5. Jaccard (mIOU) monitoring during training process for multi-class segmentation tasks.
  6. Adaptive pixel weights.

Results

I've compared the segmentation visual results and the IOU score between paper's model and mine, as well as the outcome of applying CRF as a post-processing step.

Below depicted few examples:

alt text alt text alt text alt text

And the IOU score amid the classes:

alt text

I didn't receive a significant improvement of the IOU scores, perhaps due to low number of epochs. However I believe this method can eventually outperform the original model for a bigger dataset and more epochs.

Dependencies

  • Python 3.6
  • Keras>2.2.x
  • pydensecrf
  • tensorflow > 1.11

keras-segmentation-deeplab-v3.1's People

Contributors

golbstein avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.