Skip to content

xtsxisaxns/Behevarioral-Cloning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behevarioral-cloning-carnd

Train a model to drive car like a human.This project is from udacity self-driving car project.The aim is to train a model that can drive a car like a human.It mainly use convolutional neural network to predict the steering angle.

Depencies

  • Keras
  • Opencv
  • sklearn

Data

We can use the dataset provided by udacity.Or we can collect our own dataset by using the simulator provided by udacity. At first I collected my own dataset.But the result is not good.Maybe my driving skill is bad.So I use the datacity data. Its result is good.

Data augumentation

The training dataset came from the track 1.The track 2 is much darker than track.And track 2 has a lot of shadow. To make the model more robust to environment impact and prevent overfitting,we have to do some data aumentation. For example,use image flip to balance the left and right turnig image,use hsv adjust or gamma corrction to change the lightness.

Model

Here I use a nvidia-like model.The nvidia paper is here.The model is as follows

result

driving images.

track 1 track 2

About

Train a model to drive car like a human

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages