forked from tangger/lerobot
fix
This commit is contained in:
@@ -296,7 +296,7 @@ class LeRobotDatasetMetadata:
|
|||||||
|
|
||||||
if latest_size_in_mb + ep_size_in_mb >= self.files_size_in_mb:
|
if latest_size_in_mb + ep_size_in_mb >= self.files_size_in_mb:
|
||||||
# Size limit is reached, prepare new parquet file
|
# Size limit is reached, prepare new parquet file
|
||||||
chunk_idx, file_idx = update_chunk_file_indices(chunk_idx, file_idx, self.meta.chunks_size)
|
chunk_idx, file_idx = update_chunk_file_indices(chunk_idx, file_idx, self.chunks_size)
|
||||||
|
|
||||||
# Update the existing pandas dataframe with new row
|
# Update the existing pandas dataframe with new row
|
||||||
df["meta/episodes/chunk_index"] = [chunk_idx]
|
df["meta/episodes/chunk_index"] = [chunk_idx]
|
||||||
|
|||||||
Reference in New Issue
Block a user