Skip to main content

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}},
    }

Metadata

Release files for dm2gym 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dm2gym 0.2.0
File Size Uploaded Provenance Actions
dm2gym-0.2.0.tar.gz 5.8 kB Without provenance Details for dm2gym-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dm2gym 0.2.0
File Interpreter ABI Platform Actions
dm2gym-0.2.0-py3-none-any.whl Python 3 none any Details for dm2gym-0.2.0-py3-none-any.whl

Total release size: 10.8 kB

Release files / dm2gym-0.2.0.tar.gz

Download URL dm2gym-0.2.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1dbd32d0f01d05c2e4a41fa8359385beb87bbe9aefd62fdd3941e2bc800fe4d6
BLAKE2b-256 checksum
How to use checksums
f98037312fb31235efc67dd58c9c1829d7b8ba575f6fd152f1bde772834ade46
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / dm2gym-0.2.0-py3-none-any.whl

Download URL dm2gym-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73f84a48ece50861d879a94586e76741d84d5fd43c1b707c05e3b98186272d58
BLAKE2b-256 checksum
How to use checksums
8570b889ab5dec075469fcc923ea3f700a981c8cee5679adb02026cd8d8feca1
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for dm2gym 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page