Git Product home page Git Product logo

self_driving_car's Introduction

Self_Driving_Car

license

A demonstration of Reinforcement Learning applied to a car.

Description

This project was made while learning about Deep Q Learning which is a widely used technique for Reinforcement Learning.
The idea behind this is simple, the car has 3 sensors which measure the density of the sand and also the edges of the environment.
This input is then sent to a simple feed-forward Neural Network which takes the decision in which direction the car must move.

Objective

The objective for the car is to make to and fro trips from top left corner of the screen to the bottom right corner of the screen.
The closer it gets to the target corner the more positive rewards it gets, in the other case it gets negative rewards. Which in turns help in improving the weights of the Neural Network.

Preview

IMAGE ALT TEXT

Requirements

  • NumPy
  • kivy
  • Pytorch

You can install all the required libraries by running the following command

pip install requirements.txt

Functionalities

  1. Demonstrate the working of Deep Q-Learning.
  2. Neural Network working as the brain of the car.
  3. Kivy for creating all the graphics.

Procedure

  1. Go through the code once, and then run the file map_Sid.py.
  2. When the car start to run click on the screen to draw the sand.

Credits

This project was inspired by Hadelin de Ponteves and his team via the course Artificial Intelligence A-Z.

self_driving_car's People

Contributors

sid2697 avatar

Stargazers

OCTOPUS.64BIT avatar  avatar Jehlum Pandit avatar Mukul Khanna avatar  avatar Antonio Aliaga avatar Kalyan avatar

Watchers

James Cloos 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.