You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found on a real-corpus run of the documented examples/lerobot/workflow.py, like #742 but on three different public LeRobot v3 datasets. It used episodes 0–2 of each, with all declared cameras:
importpyarrow.parquetaspqsrc=pq.read_schema("<dir>/_lerobot_cache/<repo>/data/chunk-000/file-000.parquet")
out=pq.read_schema("<dir>/v3/data/chunk-000/file-000.parquet")
print(src.equals(out, check_metadata=True)) # False on all 9 exported files
The same thing reproduces on synthetic data with the existing fake corpus in tests/test_lerobot_export.py: give the source float32 columns and fixed-size arrays, export, and compare the schemas.
Expected behavior
examples/README.md says the exporter slices data rows from the source parquets "so cameras, feature schema, dtypes, shapes, and frame timing match the source". The exported Parquet should keep the source column types, array shapes and metadata.
Actual behavior
Every stage returns success and the verifier reports OK, but on all nine exported files the same columns change type:
Field and schema metadata are dropped, and fixed-size lists become variable-size lists. For example, the xArm export's meta/info.json declares action as float32 with shape [3] but writes float64 arrays.
The cause is that _write_v3_repository rebuilds each data file with pa.Table.from_pylist(rows) and no schema, so Arrow infers float64 for Python floats and variable-size lists for arrays. I have a fix and will open a PR that passes the source schema through.
Additional context
A second, separate finding from the same run: episode_index, frame_index, index, task_index and next.done stay in the exported Parquet, but on all three datasets they disappear from the features registry in the exported meta/info.json. No values change, so this is different from the existing task-index and task-registry issues. I haven't checked whether the official LeRobot loader minds, and I'm leaving it for a separate change.
Activity
github-actions commentedon Nov 10, 2026
👋 Hi @Leo-Y-Zhang — thank you for opening your first issue on HFlow!
We appreciate you taking the time to report this. A maintainer will take a look as soon as possible.
In the meantime, feel free to:
We are glad to have you here! 🙌
fix(lerobot): declare every exported feature in info.json and check e…