ravi72munde / Chrome-Dino-Reinforcement-Learning

An RL implementation in Keras

Home Page:https://medium.com/acing-ai/how-i-build-an-ai-to-play-dino-run-e37f37bdf153

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chrome-Dino-Reinforcement-Learning

NOTE: This repo is the basic implementation with few limitations. Please refer the new repo at https://github.com/Paperspace/DinoRunTutorial

https://blog.paperspace.com/dino-run/

A Deep Convolutional Neural Network to play Google Chrome's offline Dino Run game by learning action patterns from visual input using a model-less Reinforcement Learning Algorithm

NOTE: This is a basic-implementation repository with some limitations. Please refer https://github.com/Paperspace/DinoRunTutorial where I've used a GPU VM for better results, with scores upto 4000

Refer the jupyter notebook for detailed implementation :
https://github.com/ravi72munde/Chrome-Dino-Reinforcement-Learning/blob/master/Reinforcement%20Learning%20Dino%20Run.ipynb

Installation

Start by cloning the repository

$ git clone https://github.com/ravi72munde/Chrome-Dino-Reinforcement-Learning.git
Dependencies can be installed using pip install or conda install for Anaconda environment

Dependencies

  • Python 3.6
  • Selenium
  • OpenCV
  • PIL
  • Keras
  • Chromium driver for Selenium

gif

Sample Game Play

https://youtu.be/0oOOqGFmlDs

About

An RL implementation in Keras

https://medium.com/acing-ai/how-i-build-an-ai-to-play-dino-run-e37f37bdf153

License:MIT License


Languages

Language:Jupyter Notebook 89.9%Language:JavaScript 8.7%Language:CSS 1.2%Language:HTML 0.3%