Skip to content

sookinoby/semantic-segmentation

Repository files navigation

Semantic Segmentation

Introduction

In this project, you'll label the pixels of a road in images using a Fully Convolutional Network (FCN).

Setup

Frameworks and Packages

Make sure you have the following is installed:

Dataset

Download the Kitti Road dataset from here. Extract the dataset in the data folder. This will create the folder data_road with all the training a test images.

Start

The FCN implemented was based on this paper. The neural network uses a vgg model where the dense layer is replaced with 1x1 convolutinal network, followed by up sampling and addition layers. The training was done on google cloud instance as it was computationally intensive and python instance crashed.

Implementataion

The following hyper parameters were used

  1. The learning rate was set to 0.0001. Higher learning rate yielded bad results
  2. The keep probability(drop out) was set to 0.70 to prevent over fitting
  3. The model was trained for 6 epoch and batch size was set to 16. Higher batch size caused resource exhaustion exception.

Run

Run the following command to run the project:

python main.py

Note If running this in Jupyter Notebook system messages, such as those regarding test status, may appear in the terminal rather than the notebook.

Results

The neural network successfully classified road pixels vs non road pixels. Some of the results are shown below

Result 1 Result 2 Result 3 Result 4 Result 5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages