Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzjn committed Nov 28, 2023
1 parent fe83cc7 commit f98f181
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 @@ -81,7 +81,7 @@ class Args:
def make_env(env_id, idx, capture_video, run_name):
def thunk():
if capture_video and idx == 0:
env = gym.make(env_id)
env = gym.make(env_id, render_mode="rgb_array")
env = gym.wrappers.RecordVideo(env, f"videos/{run_name}")
else:
env = gym.make(env_id)
Expand Down

0 comments on commit f98f181

Please sign in to comment.