Code Monkey home page Code Monkey logo

obstacle-tower-env's Introduction

Obstacle Tower Environment

alt text

About

The Obstacle Tower is a procedurally generated environment consisting of multiple floors to be solved by a learning agent. It is designed to test learning agents abilities in computer vision, locomotion skills, high-level planning, and generalization. It combines platforming-style gameplay with puzzles and planning problems, and critically, increases in difficulty as the agent progresses.

Within each floor, the goal of the agent is to arrive at the set of stairs leading to the next level of the tower. These floors are composed of multiple rooms, each which can contain their own unique challenges. Furthermore, each floor contains a number of procedurally generated elements, such as visual appearance, puzzle configuration, and floor layout. This ensures that in order for an agent to be successful at the Obstacle Tower task, they must be able to generalize to new and unseen combinations of conditions.

Reference Paper

To learn more, please read our AAAI Workshop paper:

Obstacle Tower: A Generalization Challenge in Vision, Control, and Planning.

Version History

  • v1.0 - Initial Release.
  • v1.1 - Obstacle Tower Challenge Round 1 Release.
    • Improved determinism between resets.
    • Fixed bug in room template leading to un-beatable floors.
    • Improved rendering & communication speed.

Installation

Requirements

The Obstacle Tower environment runs on Mac OS X, Windows, or Linux.

Python dependencies (also in setup.py):

  • Unity ML-Agents v0.6
  • OpenAI Gym
  • Pillow

Download the environment

Platform Download Link
Linux (x86_64) https://storage.googleapis.com/obstacle-tower-build/v1.1/obstacletower_v1.1_linux.zip
Mac OS X https://storage.googleapis.com/obstacle-tower-build/v1.1/obstacletower_v1.1_osx.zip
Windows https://storage.googleapis.com/obstacle-tower-build/v1.1/obstacletower_v1.1_windows.zip

For checksums on these files, see here.

Install the Gym interface

$ git clone [email protected]:Unity-Technologies/obstacle-tower-env.git
$ cd obstacle-tower-env
$ pip install -e .

Getting Started

Using the Gym Interface

To see an example of how to interact with the environment using the gym interface, see our Basic Usage Jupyter Notebook.

Player Control

It is also possible to launch the environment in "Player Mode," and directly control the agent using a keyboard. This can be done by double-clicking on the binary file. The keyboard controls are as follows:

Keyboard Key Action
W Move character forward.
S Move character backwards.
A Move character left.
D Move character right.
K Rotate camera left.
L Rotate camera right.
Space Character jump.

Training a Dopamine Rainbow agent on GCP

If you are interested in training an agent using Google's Doapmine framework and/or Google Cloud Platform, see our guide here.

obstacle-tower-env's People

Contributors

awjuliani avatar harper-u3d avatar crissman avatar gavanwilhite 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.