csv
csv
¶
Abstract dataset schema for CSV-based datasets.
CsvDatasetSchema
¶
Bases: DatasetSchema
Abstract schema for CSV-based datasets.
CSV datasets store observations in tabular format. Images are stored as image path values.
Initialize the CSV dataset schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dataset_folders
|
list[str]
|
List of dataset folder paths |
required |
zarr_path
|
str
|
Path to save/load the zarr file |
required |
episode_filename
|
str
|
Name and format of the episode CSV data file in each folder |
required |
metadata
|
DatasetMetadata
|
Metadata to use for creating the zarr store from the raw data. |
required |
dataset_type
|
str
|
Type of dataset (e.g., 'libero', 'tso', 'metaworld') |
required |