fix(video_key typo): fixing video_key typo in update_video_info (#2323)

This commit is contained in:
Caroline Pascal
2025-10-28 09:41:33 +01:00
committed by GitHub
parent d1548e1d13
commit 3f8c5d9809

View File

@@ -430,9 +430,7 @@ class LeRobotDatasetMetadata:
video_keys = [video_key] if video_key is not None else self.video_keys
for key in video_keys:
if not self.features[key].get("info", None):
video_path = self.root / self.video_path.format(
video_key=video_key, chunk_index=0, file_index=0
)
video_path = self.root / self.video_path.format(video_key=key, chunk_index=0, file_index=0)
self.info["features"][key]["info"] = get_video_info(video_path)
def update_chunk_settings(