Skip to content

Commit

Permalink
Merge branch 'vwxyzjn:master' into sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh00-Lu authored Apr 23, 2024
2 parents 512160b + 8cbca61 commit 31a91a2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions cleanrl/ppo_atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ def thunk():
else:
env = gym.make(env_id)
env = gym.wrappers.RecordEpisodeStatistics(env)
if capture_video:
if idx == 0:
env = gym.wrappers.RecordVideo(env, f"videos/{run_name}")
env = NoopResetEnv(env, noop_max=30)
env = MaxAndSkipEnv(env, skip=4)
env = EpisodicLifeEnv(env)
Expand Down
3 changes: 0 additions & 3 deletions cleanrl/ppo_atari_lstm.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ def thunk():
else:
env = gym.make(env_id)
env = gym.wrappers.RecordEpisodeStatistics(env)
if capture_video:
if idx == 0:
env = gym.wrappers.RecordVideo(env, f"videos/{run_name}")
env = NoopResetEnv(env, noop_max=30)
env = MaxAndSkipEnv(env, skip=4)
env = EpisodicLifeEnv(env)
Expand Down
3 changes: 0 additions & 3 deletions cleanrl/ppo_atari_multigpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ def thunk():
else:
env = gym.make(env_id)
env = gym.wrappers.RecordEpisodeStatistics(env)
if capture_video:
if idx == 0:
env = gym.wrappers.RecordVideo(env, f"videos/{run_name}")
env = NoopResetEnv(env, noop_max=30)
env = MaxAndSkipEnv(env, skip=4)
env = EpisodicLifeEnv(env)
Expand Down

0 comments on commit 31a91a2

Please sign in to comment.