Skip to main content

dm2gym: convert DeepMind Control Suite to OpenAI gym environments.

Project description

dm2gym: Convert DeepMind Control Suite to OpenAI gym environments.

This repository contains a lightweight wrapper to convert DeepMind Control Suite to OpenAI gym environments.

Installation

One can install directly from PyPI:

pip install dm2gym

The installation can also be done with:

git clone https://github.com/zuoxingdong/dm2gym.git
cd dm2gym
pip install -e .

Getting started

Converting the environment from dm_control to gym can be as simple as:

from dm_control import suite
from dm2gym import DMControlEnv

env = suite.load('cheetah', 'run')
env = DMControlEnv(env)

What's new

  • 2019-04-14 (v0.1.0)
    • Initial release

Reference

Please use this bibtex if you want to cite this repository in your publications:

@misc{dm2gym,
      author = {Zuo, Xingdong},
      title = {dm2gym: Convert DeepMind Control Suite to OpenAI gym environments.},
      year = {2019},
      publisher = {GitHub},
      journal = {GitHub repository},
      howpublished = {\url{https://github.com/zuoxingdong/dm2gym}},
    }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dm2gym-0.1.1.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

dm2gym-0.1.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page