Spaces:
Running
Profile LeRobot datasets on the Hub without downloading them
I built a small open-source CLI, phys-ai-dataprofiler, that tells you what a LeRobot dataset contains before you download it. It reads only the metadata bytes over HTTP range requests: the Parquet footers, and the index (moov box) of each MP4. Frames are never decoded.
For each dataset you get:
- every camera with its frame count, fps, resolution, codec and keyframes, checked against meta/info.json
- state and action streams with rate, jitter and gaps
- episode count and lengths, total hours, and NaN/inf counts in float columns
- flags for truncated videos, dropped frames, short episodes and non-monotonic timestamps
For example, DROID's exterior_1_left video (96,183 frames, 15 Hz, 320x180 AV1) is profiled from 444 KB of a 493 MB file.
You can also write what your policy needs in a YAML file and get a pass / fail / unknown verdict, or rank several candidate datasets against the same file:
pip install phys-ai-dataprofiler
phys-ai-dataprofiler check lerobot/pusht -r preset:teleop-imitation
phys-ai-dataprofiler requirements show teleop-imitation > req.yaml # edit the thresholds
phys-ai-dataprofiler compare lerobot/a lerobot/b -r req.yaml
The checks are deterministic rules with no model calls. When the tool can't settle a requirement, the answer is "unknown" along with what would settle it, never a guess. One limitation: a frame dropped during capture only shows up as a gap if the recorder kept the real timestamps. The Parquet timestamp column catches it either way.
It supports v2 and v3 layouts. Feedback is welcome, especially on datasets where it gets something wrong: https://github.com/akrishni/phys-ai-dataprofiler