fix: adding proper definition for "total_audio" in LeRobotDataset
This commit is contained in:
parent
8bea50ecdd
commit
c7930d6178
|
@ -452,6 +452,7 @@ def create_empty_dataset_info(
|
|||
"total_frames": 0,
|
||||
"total_tasks": 0,
|
||||
"total_videos": 0,
|
||||
"total_audio": 0,
|
||||
"total_chunks": 0,
|
||||
"chunks_size": DEFAULT_CHUNK_SIZE,
|
||||
"fps": fps,
|
||||
|
|
|
@ -121,6 +121,7 @@ def info_factory(features_factory):
|
|||
total_frames: int = 0,
|
||||
total_tasks: int = 0,
|
||||
total_videos: int = 0,
|
||||
total_audio: int = 0,
|
||||
total_chunks: int = 0,
|
||||
chunks_size: int = DEFAULT_CHUNK_SIZE,
|
||||
data_path: str = DEFAULT_PARQUET_PATH,
|
||||
|
@ -139,6 +140,7 @@ def info_factory(features_factory):
|
|||
"total_frames": total_frames,
|
||||
"total_tasks": total_tasks,
|
||||
"total_videos": total_videos,
|
||||
"total_audio": total_audio,
|
||||
"total_chunks": total_chunks,
|
||||
"chunks_size": chunks_size,
|
||||
"fps": fps,
|
||||
|
|
Loading…
Reference in New Issue