Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGleave committed Oct 7, 2023
1 parent 407b7dd commit 7f04e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imitation/scripts/ingredients/demonstrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _generate_expert_trajs(
with environment.make_rollout_venv() as env: # type: ignore[wrong-arg-count]
return rollout.rollout(
expert.get_expert_policy(env),
rollout_env,
env,
rollout.make_sample_until(min_episodes=n_expert_demos),
rng=_rnd,
)
Expand Down

0 comments on commit 7f04e79

Please sign in to comment.