Пример #1
0
 def make():
     env = gym.make('CarRacing-v0', verbose=0)
     env = wrappers.ContinuousActionWrapper(env)
     env = wrappers.ActionRepeatAndRenderWrapper(env)
     env = wrappers.ImageEnvWrapper(env, x_size=96, y_size=96)
     env = wrappers.FrameStackWrapper(env, 4)
     env = wrappers.DeSyncWrapper(env, max_time, env_id, n_envs)
     return env
Пример #2
0
 def make():
     env = gym.make('CartPole-v1')
     env = wrappers.ActionRepeatAndRenderWrapper(env)
     return env
Пример #3
0
 def make():
     env = gym.make('BipedalWalker-v3')
     env = wrappers.ContinuousActionWrapper(env)
     env = wrappers.ActionRepeatAndRenderWrapper(env)
     return env
Пример #4
0
 def make():
     env = gym.make('Humanoid-v3')
     env = wrappers.ContinuousActionWrapper(env)
     env = wrappers.ActionRepeatAndRenderWrapper(env)
     env = wrappers.TimeStepWrapper(env, 1000)
     return env