Skip to content

An autonomous vehicle prototype trained on deep neural networks

Notifications You must be signed in to change notification settings

SeanFrohman/Autonomous-Car-Prototype

 
 

Repository files navigation

Autonomous Car

This project uses various Deep Learning model architectures to classify the self-generated road data for building an autonomous car.

Link to the paper.

@article{agarwalBehavioral20,
  title={Behavioral Cloning in Autonomous Vehicle Using Deep Learning},
  author={Aman Agarwal and Aditya Mishra and Priyanka Sharma},
  year={2020}
}

How to run

  1. Download the Autonomous-Arena data from kaggle.

  2. Train the model by running this command:

    python tf_model_cnn.py
  3. Check this notebook for more details.

  4. Use this notebook to explore the dataset.

Car Prototype

Images

The bluetooth-controlled car was driven on an indoor track and the training data was generated by taking images from a camera mounted on the car. The images were labelled manually into 4 categories:

  1. Front (F)
  2. Left (L)
  3. Right (R)
  4. Stop (S)

Image Processing

In order to reduce the computation, images were resized from 480x640 to 24x32 pixels. Then the images were cropped to keep only the track area. Final image size was 14x32 pixels. The images were normalized before giving them to the input layer.

Model Architectures

1. CNN

The first model of cnn was of two convolutional layer followed by 2 fully connected and then the output layer. The model accuracy was around 91%. Since, the images were manually labelled, there was a huge human error. 91% accuracy of model is hence justified. Go to file

2. RNN

The RNN model was trained with two LSTM layers. Accuracy was 93%. Go to file

3. CNN + RNN

The final model was cnn followed by rnn. This model performed very badly on the training data with the accuracy of 70% since, after the convolutional layer, there was huge loss in the temporal features of the data. Go to file

Find more details about the project here.

About

An autonomous vehicle prototype trained on deep neural networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.4%
  • Python 3.6%