Update lerobot/scripts/eval.py
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
This commit is contained in:
parent
0f0113a7a6
commit
4c3d8b061e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue