Git Product home page Git Product logo

vpilot's Introduction

VPilot

Keras Deep Learning project to build a self-driving agent that takes camera frames as input and predicts steering, throttle and brake commands, trained using the DeepGTAV self-driving car development environment.

Self-Driving Car

How it works

VPilot uses a LRCN (Convolutional Recurrent Neural Network) as self-driving agent, see model.py. It is based on the NVIDIA's autosteering CNN and Long-term Recurrent Convolutional Networks insights. LSTM is used to include also temporal inference in the network, which I believe will help the agent to accurately predict throttle and brake actions also, which contrary to steering angle, are difficult to deduce from single frames.

Training is still in progress but dummy weights can be downloaded here to try drive.py. With train.py onr can easily apply supervised learning with a dataset generated by DeepGTAV to generate its own weights. You just need to change the dataset directories list.

Once proper weights are generated, drive.py can be used to test your agent, allowing DeepGTAV to connect to your model in Reinforcement Learning mode. Once the game is loaded, drive.py will take the current frame from the game, run it through the LRCN and send the output commands back to GTAV and so the vehicle should start moving, hopefully like a real self-driving car :). Don't forget the set the correct arguments when running the script!

vpilot's People

Contributors

aitorzip avatar

Watchers

 avatar  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.