Giter VIP home page Giter VIP logo

yuhuang-ca / brain-inspired-deep-imitation-learning-for-autonomous-driving-systems Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intenzo21/brain-inspired-deep-imitation-learning-for-autonomous-driving-systems

0.0 1.0 0.0 71.03 MB

Autonomous driving vehicles have drawn a great deal of interests from both academia (e.g. Oxford, MIT) and industry (e.g. Google, Tesla). However, we find that it is very difficult to directly achieve fully autonomous driving (SAE Level 5) due to generalised knowledge. To deal with the problem, deep imitation learning is a promising solution which learns knowledge from the demonstration of human. In this project, we worked on how to use deep imitation learning to achieve vehicle dynamic control (e.g. steering angle, speed). We used a dataset and simulator provided by Udacity (https://github.com/udacity/self-driving-car-sim) and the real-world comma.ai dataset.

Python 100.00%

brain-inspired-deep-imitation-learning-for-autonomous-driving-systems's Introduction

Brain-Inspired Deep Imitation Learning for Autonomous Driving Systems

Autonomous driving vehicles have drawn a great deal of interests from both academia (e.g. Oxford, MIT) and industry (e.g. Google, Tesla). However, we find that it is very difficult to directly achieve fully autonomous driving (SAE Level 5) due to generalised knowledge. To deal with the problem, deep imitation learning is a promising solution which learns knowledge from the demonstration of human. In this project, we worked on how to use deep imitation learning to achieve vehicle dynamic control (e.g. steering angle, speed). We used a dataset and simulator provided by Udacity (https://github.com/udacity/self-driving-car-sim) and the real-world comma.ai dataset.

You can download the comma.ai driving dataset here.

The instructions described are related to the Windows OS. They are pretty straightforward given that the user has already downloaded the necessary project files and meets the dependencies and requirements mentioned in Chapter B. One can obtain the program scripts from our GitHub repository.

Data Preprocessing

The comma.ai dataset is split into 3 types of raw recordings prior to being preprocessed. This process is carried out manually and no script is developed for the purpose. We present the actions required to preprocess these 3 types of recording data. In contrast, the Udacity dataset is preprocessed on the go while training the models via a batcher function thus no additional steps are required.

  • Step 1. Enter a command prompt terminal window;

  • Step 2: Navigate to the directory of the comma.ai dataset model training scripts by using the cd command;

    • Alternatively, one could go to the model training program files directory via Windows File Explorer, use the Ctrl+L keyboard shortcut to go to the address bar and enter cmd, as shown in Figure A.1, to launch a command prompt from the current file location;
  • Step 3: Run the data preprocessing script by entering the following command line arguments into the terminal:

    python preprocess_data.py rec_type [batch_size]
    • The rec_type should be set to the value of either sunny, cloudy or night since we have 3 types of video files. On the other hand, the optional batch_size argument above can be replaced with the desired numerical size value of each batch. It is set to 64 by default.

You can skip the above steps and directly download the 64-batched, preprocessed dataset here.

brain-inspired-deep-imitation-learning-for-autonomous-driving-systems's People

Contributors

intenzo21 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.