create_zarr_from_lerobot
create_zarr_from_lerobot
¶
Creates a Zarr-based replay buffer dataset from LeRobot datasets.
create_replay_buffer_from_lerobot
¶
Creates a Zarr-based replay buffer from a LeRobot dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
schema
|
LeRobotDatasetSchemaV30
|
LeRobotDatasetSchemaV30 instance. |
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. |