Physical AI Data Engineering
The LeRobot Dataset Format: Schema, v3.0 Migration, and Visualizer
Inspect a LeRobot dataset against one pinned loader. v0.3.3 code uses per-episode parquet and mp4 files plus meta/tasks.jsonl. v0.4.0 code reads meta/tasks.parquet. Those are different identifiers. The inspection card is illustrative and was not executed.
Quick facts
- Topic
- LeRobot dataset format (v3.0 schema, migration, visualizer)
- Audience
- Robotics ML engineers, data engineers, ML ops
- Deliverable
- Practitioner reference on the LeRobotDataset format
v0.3.3 names per-episode files and jsonl metadata
LeRobot v0.3.3 code sets a per-episode mp4 path, a per-episode parquet path, and a per-episode image path. The video pattern is videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4. The parquet pattern is data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet. [1] The same snapshot names meta/info.json, meta/episodes.jsonl, meta/stats.json, meta/episodes_stats.jsonl, and meta/tasks.jsonl. [2] That is the v0.3.3 layout, not the v0.4.0 layout.
v0.4.0 reads tasks from parquet
LeRobot v0.4.0 code sets DEFAULT_TASKS_PATH to meta/tasks.parquet. Its episode and data paths use a chunk file pattern plus .parquet. [3] load_tasks reads local_dir / DEFAULT_TASKS_PATH with pandas.read_parquet. [4] DEFAULT_FEATURES names timestamp as float32 and frame_index, episode_index, index, and task_index as int64, each with shape (1,). task_index is an integer index, not instruction text. [5] The info object in this snapshot includes fps, splits, data_path, video_path or None, and features. [6] A comment names tasks, dataset_from_index, dataset_to_index, data/chunk_index, and data/file_index as episode columns to select. Confirm those columns on the revision you open. The comment does not say every dataset populates them. [7]
Temporal deltas are a loader check, not a capture target
v0.4.0 checks that delta timestamps are multiples of 1/fps within the supplied tolerance. That tolerance is the function's argument, not a universal capture-quality target. [8] The v0.4.0 dataset doc example requests observation.images.front_left at -0.2, -0.1, and 0.0 seconds and shows a sample shaped [T, C, H, W] with T=3. That is the documented example. [9]
Neighboring pages own discovery and conversion
Find, evaluate, and load stay on /lerobot-datasets. Conversion mapping stays on /guides/how-to-work-with-rlds-and-lerobot-formats. The RLDS definition stays on /formats/rlds. /datasets/license is a link target only; this page does not describe its contents. TrueLabel is a software operator for capture-process alignment and training-data operations. This page states no integration, no inventory, and no measured training result.
Illustrative inspection card, not executed
Illustrative card, not executed. pinned_version=unset; tasks_path=unset; info_json=unset; delta_tolerance=unset; dataset_from_index=confirm on the revision. Outcome: HOLD until one revision is pinned. No dataset was opened for this guide.
Related pages
Use these to move from category-level context into specific task, dataset, format, and comparison detail.
External references and source context
- LeRobot GitHub repository
LeRobot v0.3.3 code sets per-episode MP4, per-episode Parquet, and per-episode image paths. That is the v0.3.3 layout, not the v0.4.0 layout.
GitHub ↩ - LeRobot GitHub repository
LeRobot v0.3.3 names meta/info.json, meta/episodes.jsonl, meta/stats.json, meta/episodes_stats.jsonl, and meta/tasks.jsonl.
GitHub ↩ - LeRobot GitHub repository
LeRobot v0.4.0 code sets DEFAULT_TASKS_PATH to meta/tasks.parquet, and its episode and data paths use a chunk file pattern plus .parquet.
GitHub ↩ - LeRobot GitHub repository
LeRobot v0.4.0 load_tasks reads local_dir / DEFAULT_TASKS_PATH with pandas.read_parquet.
GitHub ↩ - LeRobot GitHub repository
LeRobot v0.4.0 DEFAULT_FEATURES names timestamp (float32), frame_index, episode_index, index, and task_index (each int64, shape (1,)). task_index is an integer index, not instruction text.
GitHub ↩ - LeRobot GitHub repository
The v0.4.0 info object in this snapshot includes fps, splits, data_path, video_path (or None), and features.
GitHub ↩ - LeRobot GitHub repository
A v0.4.0 comment names tasks, dataset_from_index, dataset_to_index, data/chunk_index, and data/file_index as episode columns to select. Confirm those columns on the revision you open. The comment does not say every dataset populates them.
GitHub ↩ - LeRobot GitHub repository
LeRobot v0.4.0 checks that delta timestamps are multiples of 1/fps within the supplied tolerance. That tolerance is the function's argument, not a universal capture target.
GitHub ↩ - LeRobot GitHub repository
The v0.4.0 dataset doc example requests observation.images.front_left at -0.2, -0.1, and 0.0 seconds and shows a sample shaped [T, C, H, W] with T=3. That is the documented example.
GitHub ↩
FAQ
Are meta/tasks.jsonl and meta/tasks.parquet the same version?
No. v0.3.3 code names meta/tasks.jsonl. v0.4.0 code sets meta/tasks.parquet and reads it with pandas.read_parquet. Pin one revision.
Is task_index the instruction text?
No. In the v0.4.0 DEFAULT_FEATURES snapshot, task_index is an int64 value with shape (1,). It is an integer index, not the instruction string.
Must every dataset populate dataset_from_index?
The v0.4.0 comment lists that name among columns you might select. It does not say every dataset populates it. Confirm the revision you open.
Is the 1/fps delta check a capture-quality target?
No. The check says delta timestamps must be multiples of 1/fps within the tolerance the function is given. That is a loader argument, not a universal capture target.
Running your own capture operation?
TrueLabel is the software platform for data providers, labs, and robotics companies that run their own capture operations, taking capture devices through processing to high-quality training and alignment data.