mirror of
https://github.com/huggingface/lerobot.git
synced 2026-06-28 21:57:27 +00:00
chore(learner): nit comment from copilot
This commit is contained in:
@@ -189,7 +189,7 @@ def _default_batch_to_transition(batch: dict[str, Any]) -> EnvTransition: # noq
|
||||
observation = None
|
||||
if observation_keys:
|
||||
observation = {}
|
||||
# Add observation.* keys to the observation dict, removing the "observation." prefix
|
||||
# Add observation.* keys to the observation dict
|
||||
for key, value in observation_keys.items():
|
||||
observation[key] = value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user