Skip to content

Convolutional neural network implementation for image segmentation using Tensorflow

Notifications You must be signed in to change notification settings

scottypate/sand-cnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Segmentation with TensorFlow

Convolutional Neural Network built using OpenCV and Tensorflow for this Kaggle competition.

This is an implementation of "U-Net" described in this paper. The name "U-Net" comes from the "U" shape of the convolution and upsampling layers in the network. The "left" side of the "U" are convolution layers in which image shrinkage occurs. The "right" side of the "U" are transposed convolutional layers in which image dilation occurs.

Net.py

The Net class of this application is responsible for the structure and the flow of data through the neural network. This class allows training of a neural network with the train method and access to the saved results of the training session with the predict method.

Convolution.py

The Convolution class of this application is responsible for the operations that occur on the data within the structure defined in the Net.py class. This includes the definition of activation functions and the operaions of the feed forward connections.

Convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

No padding, no strides Arbitrary padding, no strides Half padding, no strides Full padding, no strides
No padding, strides Padding, strides Padding, strides (odd)

Transposed convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

No padding, no strides, transposed Arbitrary padding, no strides, transposed Half padding, no strides, transposed Full padding, no strides, transposed
No padding, strides, transposed Padding, strides, transposed Padding, strides, transposed (odd)

Acknowledgements

Convolution animations used from the following source

About

Convolutional neural network implementation for image segmentation using Tensorflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages