From 4c3d8b061ed41e5a5e4d172b47e061c6f6386edc Mon Sep 17 00:00:00 2001 From: Remi Date: Wed, 10 Apr 2024 18:07:27 +0200 Subject: [PATCH] Update lerobot/scripts/eval.py Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com> --- lerobot/scripts/eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/scripts/eval.py b/lerobot/scripts/eval.py index 0e4f7bb3..8d891115 100644 --- a/lerobot/scripts/eval.py +++ b/lerobot/scripts/eval.py @@ -135,7 +135,7 @@ def eval_policy( # apply inverse transform to unnormalize the action action = postprocess_action(action, transform) - # apply the next + # apply the next action observation, reward, terminated, truncated, info = env.step(action) if max_episodes_rendered > 0: render_frame(env)