zuoxingdong / dm2gym

Convert DeepMind Control Suite to OpenAI gym environments.
MIT License
83 stars 8 forks source link

environment name is not camelcased correctly #7

Open geyang opened 4 years ago

geyang commented 4 years ago
import gym

env = gym.make("ManipulatorBringPeg-v0")

fails. The task name is bring_peg.

ps: I am happy to submit a PR and/or co-maintain this repo.

csingh27 commented 3 years ago

Man. it should be ManipulatorBring_peg-v0 Dm_control -> gym domain_name : manipulator -> Manipulator task_name : bring_peg -> Bring_peg and add "-v0"

geyang commented 3 years ago

Thanks! Check out this module gym-dmc

Usage pattern:

import gym

env = gym.make("gym_dmc:Pendulum-swingup-v1")

You can just pip install via

pip install gym-dmc

PyPI link here: https://pypi.org/project/gym-dmc/