Giter Club home page Giter Club logo

dinoruntutorial's Introduction

Dino Run Tutorial

If you want train the model, please follow steps firstly Download and build the envInstall baselinesDownload chromedriverTraining&Predicting

You can button the key that ctrl+c to stop the training. It will still train the model at the next training time.

If it gets a object_error at pickle, please follow step at object_error

Video Sample

Download and build the env

git clone https://github.com/leeivan1007/DinoRunTutorial.git
cd DinoRunTutorial
conda env create --file environment.yaml
source activate dino_rl

Install baselines

Open_AI reinforcement learning

git clone hhttps://github.com/openai/baselines.git
cd baselines
pip install -e .

Download chromedriver

You can access this link https://chromedriver.chromium.org/,select the version(Latest stable release), and get the version of your OS

After download the file, decompress the file as the specified path.

If you follow the step. The chromedriver will be place at the same level with the repo's folder.

root_home/
         chromedriver
         DinoRunTutorial

Or you can revision the var of the path (chrome_driver_path).

Training&Predicting

When the dino is running, it will train the model at a cycle time.

python unit5_dino.py

object_error

If it has a error when pickle file load the object. Or you want to remove the trained file. Please run the code below.

python clear_objects.py 

Original reference

Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"

dinoruntutorial's People

Contributors

leeivan1007 avatar ravi72munde avatar dte avatar sbrugman avatar dkobran avatar

Stargazers

TonyLiu avatar Anderson Kao avatar Shin Fu Chen avatar  avatar  avatar  avatar Conecta avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Kamil Złotnicki avatar  avatar  avatar  avatar  avatar Andrew avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar zespół weselny avatar  avatar  avatar  avatar  avatar Lucas Saraiva Cordeiro avatar  avatar  avatar  avatar  avatar  avatar  avatar Koustav Chanda avatar Cabie Wu avatar  avatar  avatar  avatar showay avatar

Watchers

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