Metadata-Version: 2.1
Name: dm-control2gym
Version: 0.0.1
Summary: dm_control suite for OpenAI Gym env
Home-page: https://github.com/Rowing0914/dm_control2gym
Author: Norio Kosaka
Author-email: kosakaboat@gmail.com
License: UNKNOWN
Description: ## Introduction
        I simplified [martinseilair's](https://github.com/martinseilair/dm_control2gym) `dm_control2gym` as well as made it compatible with the latest `MuJoCo` library(e.g., 2.0.0). .... yeah,, I will upload the documents when I have time.
        
        
        
        ## Usage
        
        - MDP tasks: `env` returns a state of a robot at each time-step
        
          `````python
          import itertools
          from dm_control2gym.util import make_dm2gym_env_state
          
          env = make_dm2gym_env_state(env_name="cheetah_run")
          
          state = env.reset()
          print("State shape: ", state.shape)
          
          total_reward = 0
          
          for t in itertools.count():
              action = env.action_space.sample()
              state, reward, done, _ = env.step(action)
              total_reward += reward
          
              if done: break
          
          env.close()
          print("Total Reward: {}".format(total_reward))
          `````
        
        - POMDP tasks: `env` returns a raw image observation at each time-step
        
          `````python
          import itertools
          from dm_control2gym.util import make_dm2gym_env_obs
          
          env = make_dm2gym_env_obs(env_name="cheetah_run", num_repeat_action=1)
          
          obs = env.reset()
          print("Obs shape: ", obs.shape)
          
          total_reward = 0
          
          for t in itertools.count():
              action = env.action_space.sample()
              obs, reward, done, _ = env.step(action)
              total_reward += reward
          
              if done: break
          
          env.close()
          print("Total Reward: {}".format(total_reward))
          `````
        
          
        
        ## For more details
        Please refer to [martinseilair's](https://github.com/martinseilair/dm_control2gym) `dm_control2gym`
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
