create_zarr_from_hdf5
create_zarr_from_hdf5
¶
Creates a Zarr-based replay buffer dataset from HDF5 files (e.g., LIBERO).
create_replay_buffer_from_hdf5
¶
Creates a Zarr-based replay buffer from multiple HDF5 files.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
schema
|
Hdf5DatasetSchema
|
Hdf5DatasetSchema instance with HDF5 paths and zarr path configured |
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. |