GithubHelp home page GithubHelp logo

goexplore's Introduction

GoExplore

Installing dependencies

Tested using Python version 3.8.3 on Ubuntu 20.04.

First clone the repository, then run

sudo apt-get install libgl1
pip install -r requirements.txt

Example usage

To run experiment "Test" with 10000 frames on Pong, run the following command:

python code/run_experiments.py --exp-name Test --games Pong --frames 10000

This will produce a folder experiments/<timestamp>_Test. This folder contains 4 files:

  • a .trajectory file, which contains the pickled trajectory to the best cell.
  • a .json file, which contains metadata pertaining to the experiment, such as the highscore; the trajectory length; the archive size; the duration; and the number of frames processed.
  • a .svg file, which plots the how the algorithm progresses over time.
  • a .data file, which contains the pickled raw data used to produce the plots.

Run the help command for more details:

python code/run_experiments.py -h

To watch the agent play out a trajectory, run the following command:

python code/replay_trajectory.py --path <path-to-trajectory.trajectory>

The program will default to code/demo.trajectory if no argument is given.

goexplore's People

Contributors

papersson avatar dat14pp1 avatar

Watchers

 avatar

goexplore's Issues

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.