Giter Club home page Giter Club logo

self-driving-car's Introduction

SELF DRIVING CAR

REQUIREMENTS

PYTHON 2.7.13

PYTHON LIBS ON TERMINAL

Dependencies are in requirements.txt

  1. To install the dependencies, first go to self-driving-car directory, once in, run:
$ pip install -r requirements.txt
  1. Afterwards, you can run the python file map.py with:
$ python map.py

EXPLANATION

The file map.py contains the environment where the user is able to draw sand onto the map, and it generates the car from car.kv. It also imports the deep q-learning neural network from ai.py and uses it to try to find a way to go from the top-left of the screen to the bottom-right of the screen (continuously alternating between these 2 positions). You are also able to clear the screen in case you make a mistake while drawing the sand. Furthermore, you can save your brain once you are done allowing it to explore, and the brain is saved in last_brain.pth (note that map.py quits once the brain has been saved). This file is also called to import the brain when the load button is clicked - loads the brain.

self-driving-car's People

Contributors

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