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

One liner to create the environment:

import gym
env = gym.make('dm2gym:CheetahRun-v0')

More examples to specify the environment:

env = gym.make('dm2gym:FishSwim-v0', environment_kwargs={'flat_observation': True})
env = gym.make('dm2gym:HopperHop-v0', visualize_reward=True)

What's new

  • 2019-10-18 (v0.2.0)

    • Sync to the latest API of DeepMind Control Suite
    • Support gym registration: create all dm_control environments via gym.make
  • 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.2.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dm2gym-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file dm2gym-0.2.0.tar.gz.

File metadata

  • Download URL: dm2gym-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for dm2gym-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1dbd32d0f01d05c2e4a41fa8359385beb87bbe9aefd62fdd3941e2bc800fe4d6
MD5 491da70d21edbb2be6ffd12a407153cc
BLAKE2b-256 f98037312fb31235efc67dd58c9c1829d7b8ba575f6fd152f1bde772834ade46

See more details on using hashes here.

File details

Details for the file dm2gym-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dm2gym-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for dm2gym-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73f84a48ece50861d879a94586e76741d84d5fd43c1b707c05e3b98186272d58
MD5 b00c2d552080e2c47064b7bf9f322ec4
BLAKE2b-256 8570b889ab5dec075469fcc923ea3f700a981c8cee5679adb02026cd8d8feca1

See more details on using hashes here.

Supported by

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