Skip to content

This repository contains the work on Behavioral Cloning Project (Project 4) of Self Driving Car Nano Degree program

License

Notifications You must be signed in to change notification settings

mohan-barathi/SD_Car_ND_Behavioral_Cloning_P4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behavioral Cloning Project

Self Driving Car Nano Degree

Term : 1 Project : 4

Udacity - Self-Driving Car NanoDegree

alt text

Overview

This repository contains the source code and output of Behavioral cloning project.

Here, deep neural networks and convolutional neural networks are used to clone driving behavior. This is implemented using Keras, to predict steering angle of an autonomous vehicle simulation.

A detailed discussion about the implementation of this model is availbale in the report writeup. This repository contains the following files:

  • model.py (script used to create and train the model)
  • drive.py (script to drive the car)
  • model.h5 (a trained Keras model)
  • a report writeup file (markdown)
  • video.mp4 (a video recording of the vehicle driving autonomously)

Important Links :

Dependencies :

The Project

The goals / steps of this project are the following:

  • Use the simulator to collect data of good driving behavior
  • Design, train and validate a model that predicts a steering angle from image data
  • Use the model to drive the vehicle autonomously around the first track in the simulator. The vehicle should remain on the road for an entire loop around the track.
  • Summarize the results with a written report

To Execute the simulation in autonomous mode, using this saved model

Run drive.py

drive.py requires trained model as an h5 file, i.e. model.h5.

Once the model has been saved, it can be used with drive.py using this command:

python drive.py model.h5

The above command will load the trained model and use the model to make predictions on individual images in real-time and send the predicted angle back to the server via a websocket connection.

About

This repository contains the work on Behavioral Cloning Project (Project 4) of Self Driving Car Nano Degree program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9