Skip to content

cAr-drIve - reinforcement learning for simulated self-driving car

License

Notifications You must be signed in to change notification settings

xstreck1/cAr-drIve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cAr-drIve

cAr-drIve - reinforcement learning for simulated self-driving car

This is a project that allows to train an AI able to drive alongside any track built from pre-defined pieces.

Self-tought AI on a race track

This is the code for an accompanying Medium article, for details on the content, please check the article.

Requirements

This project needs the ML-Agents environment version 0.15.0 to be set up. At best I'd suggest to follow the official installation guide. However the following steps should suffice:

  1. Get Python 3.6 64-bit (the 64 bit seems necessary, at least on Windows)
  2. Get Unity 2020.1+
  3. Download the ML-Agents 1.0.0+ package (see https://github.com/Unity-Technologies/ml-agents/blob/release_12_docs/docs/Installation.md)
  4. Install dependencies: pip3 install "mlagents"
  5. Clone this repository
  6. Open project in Unity

Scenes

  • CarTrain This scene is used for training a model.
  • CarTest This scene contains a different track for verification of the trained model.
  • CarPlay This scene contains a set of 3 Agents and a car controlled by the player to mimic a game scenario.

About

cAr-drIve - reinforcement learning for simulated self-driving car

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages