Skip to content

Implementation of deep learning to clone driving behavior for autonomous vehicles

Notifications You must be signed in to change notification settings

marwan91/Behavioral-cloning-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behavioral-cloning-project

Udacity - Self-Driving Car NanoDegree

Overview

This repository contains the required files for the Behavioral Cloning Project.

Dependencies

This lab requires:

The lab enviroment can be created with CarND Term1 Starter Kit. Click here for the details.

The following files can be found in this github repository:

  • drive.py
  • model.py
  • model.h5
  • video.mp4
  • README.md
  • writeup_template.md

The simulator can be downloaded from the udacity Classroom.

Details About Files In This Directory

video.mp4

A sample recording of the autonomous behavior demonstrated in the car simulator.

model.py

The python code for the neural network architecture that trains and outputs the model.

model.h5

The neural network is saved in an h5 format to be used for testing in the simulator.

drive.py

Usage of drive.py requires you have saved the trained model as an h5 file.

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.

Note: There is known local system's setting issue with replacing "," with "." when using drive.py. When this happens it can make predicted steering values clipped to max/min values. If this occurs, a known fix for this is to add "export LANG=en_US.utf8" to the bashrc file.

For further details on the implementation of the model. refere to the writeup.md file.

About

Implementation of deep learning to clone driving behavior for autonomous vehicles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages