Giter Site home page Giter Site logo

uidilr / irl_gym Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justinjfu/inverse_rl

1.0 1.0 1.0 869 KB

Gym Environments for Inverse Reinforcement Learning

License: MIT License

Python 100.00%
c-maze maze s-maze ant mujoco reinforcement-learning inverse-reinforcement-learning

irl_gym's Introduction

Gym Environments for Inverse RL

Implementations of Gym Interface Environments used for Inverse Reinforcement Learning Paper

Setup

git clone https://github.com/uidilr/irl_gym.git
cd irl_gym
pip install -e .

Usage

Environments are already registered to gym if it is correctly set up.

import gym

env = gym.make("irl_gym:PointMazeLeft-v0")

Environments

PointMazeLeft-v0

MazeLeft

PointMazeRight-v0 MazeRight

CustomAnt-v0 CustomAnt

DisabledAnt-v0 CustomAnt

This repository registers environments below

register(id='TwoDMaze-v0',
         entry_point='irl_gym.envs.twod_maze:TwoDMaze')
register(id='PointMazeLeft-v0', entry_point='irl_gym.envs.point_maze:PointMazeEnv',
         kwargs={'sparse_reward': False, 'direction': 0})
register(id='PointMazeRight-v0', entry_point='irl_gym.envs.point_maze:PointMazeEnv',
         kwargs={'sparse_reward': False, 'direction': 1})

register(id='CustomAnt-v0', entry_point='irl_gym.envs.ant_env:CustomAntEnv',
         kwargs={'gear': 30, 'disabled': False})
register(id='DisabledAnt-v0', entry_point='irl_gym.envs.ant_env:CustomAntEnv',
         kwargs={'gear': 30, 'disabled': True})

register(id='VisualPointMazeRight-v0', entry_point='irl_gym.envs.visual_pointmass:VisualPointMazeEnv',
         kwargs={'sparse_reward': False, 'direction': 1})
register(id='VisualPointMazeLeft-v0', entry_point='irl_gym.envs.visual_pointmass:VisualPointMazeEnv',
         kwargs={'sparse_reward': False, 'direction': 1})

License

MIT

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.