mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-24 18:26:11 +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()
|
engine.pause()
|
||||||
events.phase = DAggerPhase.PAUSED
|
events.phase = DAggerPhase.PAUSED
|
||||||
self._return_to_initial_position(ctx.hardware)
|
self._return_to_initial_position(ctx.hardware)
|
||||||
|
last_action = None
|
||||||
logger.info(
|
logger.info(
|
||||||
"Episode saved — paused for environment reset. Press SPACE to start next episode."
|
"Episode saved — paused for environment reset. Press SPACE to start next episode."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user