Episodes Preview PiPER Visualizer
80 episodes · 30 fps · 4 cameras · 640×480 h264

Clean Table — LeRobot v2.1 with native depth

Instruction: Put the crumpled paper ball and the block into the basket, then hang the mug on the mug rack.

Task: place the crumpled paper ball and the block in the basket, then hang the handled mug on its rack.

80 episodes, 38,555 frames, four RGB-D cameras at 30 FPS. The episode-level random split (seed 42) assigns 72 episodes (34,717 frames) to training and 8 episodes (3,838 frames) to testing. Original test episode IDs: [3, 13, 14, 17, 28, 31, 35, 69]. In this export the test episodes are numbered 72 through 79. See meta/split_manifest.json for the original-to-export mapping. Read held-out samples with split="test".

Format and fields

  • Genuine LeRobot v2.1: data/chunk-000/episode_XXXXXX.parquet, per-camera episode MP4 videos, and standard meta/ files. The version tag is v2.1.
  • Cameras: cam_high, cam_left_wrist, cam_right_wrist, cam_third_person.
  • RGB keys: observation.images.<camera>. Native 640 × 480, H.264 CRF18 MP4. RGB video is lossy, not a lossless image export.
  • Depth keys: observation.depth.<camera>. Native uint16 millimetres, lossless PNG embedded in Parquet. All 16 bits, invalid zeros, and the full representable range are preserved. Source semantics: color-camera axial Z, zero invalid; source images were factory D2C aligned to rectified color.
  • observation.state, observation.velocity, observation.effort, action: float32 vectors of length 14, left six joints + gripper, then right six joints + gripper. Recorded values and source action alignment are copied; the converter does not rescale gripper readings.
  • base_action: float32 length 2. Original camera capture timestamps remain float64 in observation.camera_timestamps.<camera>.
  • Standard timestamp is frame index / 30; original capture timestamps are preserved separately. This does not assert perfectly uniform camera arrival intervals.

meta/conversion.json and the per-episode receipts preserve source file mapping, source attributes, camera intrinsics, D2C calibration, depth semantics, and synchronization settings. This export does not infer camera-to-robot extrinsics or TCP positions. Images retain native size, so the source intrinsics refer to the same pixel grid.

Download and read

The repository includes a frozen official LeRobot v0.3.3 source snapshot (dataset format v2.1) and a small depth reader adapter in tools/. Use a separate environment from LeRobot v3. Dependencies are listed in tools/requirements-reader.txt; install a compatible PyTorch/torchvision pair.

from pathlib import Path
import sys
from huggingface_hub import snapshot_download

repo_id = "Kensag/Clean_Table_lerobot_v21"
root = Path(snapshot_download(repo_id=repo_id, repo_type="dataset", revision="v2.1"))
sys.path.insert(0, str(root / "tools"))
from read_lerobot_v21_depth import DepthLeRobotDataset

ds = DepthLeRobotDataset(repo_id, root=root, split="train", video_backend="pyav")
sample = ds[0]
rgb = sample["observation.images.cam_third_person"]    # float32 [3,480,640], 0..1
depth_mm = sample["observation.depth.cam_third_person"] # float32 [1,480,640], raw mm
valid = depth_mm > 0
depth_m = depth_mm / 1000.0

Depth is never divided by 255 or implicitly normalized. The adapter avoids historical torchvision uint16-to-signed-int16 conversion, keeps timestamps float64, and applies image transforms only to RGB. A Parquet-only loader reads numeric fields and embedded depth; the LeRobot reader additionally resolves RGB from MP4.

Validation and provenance

meta/validation.json records the complete conversion audit: all saved depth pixels matched the source-depth hashes, numeric fields and timestamps matched the source recordings, and every RGB video had the expected frame count. meta/reader_validation.json records official SDK/adapter sample checks and the full uint16 range test. meta/publication_validation.json records the fresh pre-upload file hash/source fingerprint checks.

Use meta/stats_train.json for training normalization. Test-only and combined statistics are in meta/stats_test.json and meta/stats.json.

Downloads last month
372