https://github.com/ikostrikov/dmcgym
https://github.com/ikostrikov/dmcgym
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ikostrikov/dmcgym
- Owner: ikostrikov
- License: mit
- Created: 2022-06-28T19:45:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-19T05:26:55.000Z (about 3 years ago)
- Last Synced: 2025-04-05T22:31:44.022Z (6 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 23
- Watchers: 2
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dmcgym
A fork of [dmc2gym](https://github.com/denisyarats/dmc2gym) refactored to remove parts implemented in other gym wrappers and add support for interactive rendering.
## Installation
```bash
pip install git+https://github.com/ikostrikov/dmcgym.git
```## Usage
```python
import gym
import dmcgymenv = gym.make('cheetah-run-v0')
```### Manipulation Tasks
For manipulation tasks, only `features` versions are loaded. To get pixel observations, please call a pixel wrapper, such as [`PixelObservationWrapper`](https://github.com/openai/gym/blob/1061949d0ca951518275f7fd5944ca52e3af8b9d/gym/wrappers/pixel_observation.py#L15).To load a manipulation task, specify the environment as follows: `env = gym.make('reach_duplo-v0')`.