create_zarr_from_csv
create_zarr_from_csv
¶
Creates a Zarr-based replay buffer dataset from robot demonstration CSV files and associated images.
create_replay_buffer
¶
Creates a Zarr-based replay buffer using a Hydra-instantiated dataset schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
schema
|
CsvDatasetSchema
|
CsvDatasetSchema instance (instantiated by Hydra) |
required |
datasets_paths
|
list[str]
|
List of paths to episode CSV files |
required |
image_frames_per_shard
|
int | None
|
Number of image frames stored in each shard, or None to disable sharding. |
DEFAULT_IMAGE_FRAMES_PER_SHARD
|
Raises:
| Type | Description |
|---|---|
TypeError
|
If image_frames_per_shard is not an integer. |
ValueError
|
If image_frames_per_shard is not a positive multiple of the image chunk length. |