Skip to content

Latest commit

 

History

History
61 lines (53 loc) · 2.6 KB

README.md

File metadata and controls

61 lines (53 loc) · 2.6 KB

Semantic Segmentation

Introduction

A pixel wise segmentation of drivable path using Fully Convolutional Neural-Network (FCN). task at hand

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.

Run

Run the following command to run the project:

python main.py

Discussion

The network implemented in this project is based on this paper.
fcn structure

Training Details

System : AWS EC2 || Instance type : g3.4xlarge

Ubuntu 16.04
Python 3.6+
Tensorflow 1.2+
GPU --> Nvidia Tesla M60 (8GB)
Training time : 40 mins (with following hyperparameters)


Model params :

Learning rate : 0.001
Dropout (training keep prob) : 0.5
Epochs : 50
Batch size : 12
Kernel Regularizer : l2_regularizer(1e-3)

Result

Some of the images obtained after training:
sample_1 sample_2 sample_3 sample_4
False positive sample:
sample_5
False negative sample:
sample_6

Future improvements

  • Augment training images for better performance
  • Use more datapoints (from other similar datasets; cityscape like)
  • Increase classes (add pedestrians, vehicles, ...)

Rubric achieved:

  1. All the unit test have passed.
  2. main.py runs without errors
  3. Newest inference images from runs folder included (all images from the most recent run)