Skip to content

Commit

Permalink
Catch up gym==0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muupan committed Feb 12, 2020
1 parent 7fb7212 commit 54b49c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/mujoco/train_ppo_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ def make_env(test):
return env

sample_env = gym.make(args.env)
timestep_limit = sample_env.spec.tags.get(
'wrapper_config.TimeLimit.max_episode_steps')
timestep_limit = sample_env.spec.max_episode_steps
obs_space = sample_env.observation_space
action_space = sample_env.action_space

Expand Down

0 comments on commit 54b49c9

Please sign in to comment.