mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-02 23:57:24 +00:00
fix(rollout): clear last_action after return_to_initial
This commit is contained in:
@@ -536,6 +536,7 @@ class DAggerStrategy(RolloutStrategy):
|
||||
engine.pause()
|
||||
events.phase = DAggerPhase.PAUSED
|
||||
self._return_to_initial_position(ctx.hardware)
|
||||
last_action = None
|
||||
logger.info(
|
||||
"Episode saved — paused for environment reset. Press SPACE to start next episode."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user