phys-ai-dataprofiler — evaluate dataset quality before downloading 500 GB
A new CLI tool profiles physical-AI and lab datasets on Hugging Face Hub by reading only metadata headers via HTTP range requests. It reports streams, message counts, jitter, gaps, NaN counts, and issues like truncated recordings for formats including MCAP, ROS 1 .bag, ROS 2 .db3, MATLAB .mat, Parquet, and LeRobot. Users can specify model requirements in YAML to get pass/fail/unknown verdicts; unknowns are not guessed as passes. The tool is available on PyPI and GitHub with feedback requested.
I built a small CLI that profiles physical-AI and lab datasets on the Hugging Face Hub without downloading them. It reads only the bytes that hold metadata — headers, indexes, footers — through HTTP range requests, and reports streams, message counts, rates, jitter, gaps, episodes, NaN counts, and problems like truncated or unindexed recordings.
Formats: MCAP, ROS 1 .bag, ROS 2 .db3, MATLAB .mat, Parquet, and LeRobot datasets as a whole — state and actions from the Parquet tables, each camera from its MP4. v0.4.0 reads the MP4 moov index (codec, resolution, per-frame timestamps, keyframes); frames are never decoded.
On large files that’s usually well under 1%: a 5.8 GB ROS 1 bag is profiled from 533 KB, a 493 MB camera video from 444 KB.
Write what your model needs in a YAML file and get a pass / fail / unknown verdict — unknowns are never guessed passes:
pip install phys-ai-dataprofiler
phys-ai-dataprofiler check lerobot/pusht -r preset:teleop-imitation
phys-ai-dataprofiler compare org/a org/b -r req.yaml
PyPI: Client Challenge
GitHub: GitHub - akrishni/phys-ai-dataprofiler · GitHub
Feedback welcome — especially datasets it gets wrong, and requirements presets you’d want built in.