mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-24 10:16:09 +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
|
observation = None
|
||||||
if observation_keys:
|
if observation_keys:
|
||||||
observation = {}
|
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():
|
for key, value in observation_keys.items():
|
||||||
observation[key] = value
|
observation[key] = value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user