Skip to content

using semantic segmentation to identify drivable path for self driving cars

License

Notifications You must be signed in to change notification settings

askmuhsin/semantic-seg-drivable-path

Repository files navigation

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)

About

using semantic segmentation to identify drivable path for self driving cars

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages