Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Paperspace/DinoRunTutorial
Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"
https://github.com/Paperspace/DinoRunTutorial
jupyter-notebook keras-tensorflow machine-learning paperspace q-learning reinforcement-learning
Last synced: about 2 months ago
JSON representation
Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"
- Host: GitHub
- URL: https://github.com/Paperspace/DinoRunTutorial
- Owner: Paperspace
- License: mit
- Created: 2018-05-22T00:53:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T17:29:51.000Z (over 4 years ago)
- Last Synced: 2024-08-08T23:18:57.306Z (6 months ago)
- Topics: jupyter-notebook, keras-tensorflow, machine-learning, paperspace, q-learning, reinforcement-learning
- Language: Jupyter Notebook
- Homepage: https://blog.paperspace.com/dino-run
- Size: 405 KB
- Stars: 322
- Watchers: 15
- Forks: 104
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dino Run Tutorial
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
Accompanying code for Paperspace tutorial ["Build an AI to play Dino Run"](https://blog.paperspace.com/dino-run/)
[![Video Sample](https://media.giphy.com/media/Ahh7X6z7jZSSl4veLf/giphy.gif)](http://www.youtube.com/watch?v=w1Rqf2oxcPU)
# Installation
Start by cloning the repository
`$ git clone https://github.com/Paperspace/DinoRunTutorial.git`
You need to initialize the file system to save progress and resume from last step.
Invoke `init_cache()` for the first time to do thisDependencies can be installed using pip install or conda install for Anaconda environment
- Python 3.6 Environment with ML libraries installed (numpy,pandas,keras,tensorflow etc)
- Selenium
- OpenCV
- ChromeDriver
ChromeDriver can be installed by going to (link - https://chromedriver.chromium.org/downloads) and also download the driver according to your chrome version which can be found under settings->About Chrome.
Change the path of chrome driver accordingly in Reinforcement Learning Dino Run.ipynb.(Default ="../chromedriver")