Skip to content

Commit

Permalink
update ppo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpkjc committed Oct 15, 2023
1 parent d1d28c7 commit d00d87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleanrl/ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def parse_args():
def make_env(env_id, seed, idx, capture_video, run_name):
def thunk():
if capture_video and idx == 0:
env = gym.make(env_id, render_mode="rgb_array")
env = gym.make(env_id)
env = gym.wrappers.RecordVideo(env, f"videos/{run_name}")
else:
env = gym.make(env_id)
Expand Down

0 comments on commit d00d87c

Please sign in to comment.