Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGleave committed Oct 8, 2023
1 parent 648a8a3 commit c2b6815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imitation/scripts/eval_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def eval_policy(
sample_until = rollout.make_sample_until(eval_n_timesteps, eval_n_episodes)
post_wrappers = [video_wrapper_factory(log_dir, **video_kwargs)] if videos else None
render_mode = "rgb_array" if videos else None
with environment.make_venv(. # type: ignore[wrong-keyword-args]
with environment.make_venv( # type: ignore[wrong-keyword-args]
post_wrappers=post_wrappers,
env_make_kwargs=dict(render_mode=render_mode),
) as venv:
Expand Down

0 comments on commit c2b6815

Please sign in to comment.