Repository navigation
Implement LeRobot v2.1 format - #286
Open
Shivang K Raghuvanshi (shivkr6) wants to merge 8 commits into
Open
Shivang K Raghuvanshi (shivkr6) wants to merge 8 commits into
Shivang K Raghuvanshi (shivkr6) wants to merge 8 commits into
Conversation
Shivang K Raghuvanshi (shivkr6)
force-pushed
the
main
branch
2 times, most recently
from
October 14, 2026 17:22
b5c8f80 to
d15a4d6
Compare
Shivang K Raghuvanshi (shivkr6)
marked this pull request as ready for review
October 14, 2026 17:26
Introduce the episode reader scaffold and expose read_lerobot_v2_1 through the public pipeline API. Include storage-driver extras for cloud execution. Signed-off-by: Shivang K Raghuvanshi <shivangraghuvanshi2005@gmail.com>
Select per-episode path defaults and the feature info key for v2.1 metadata while preserving v3 defaults and explicit path templates. Pass codebase_version through feature parsing and serialization.
Shard meta/episodes.jsonl through JsonReader and load info, tasks, and aggregated episode stats. Cache merged per-root metadata and update the stub test to cover shard listing before episode reading is implemented.
Resolve per-episode Parquet paths, attach episode stats and video references, and yield aligned LeRobotTabular blocks. Validate frame counts and episode stats, support malformed-row skipping, and remap task indices across dataset roots. Update the reader test for the implemented episode-loading path.
Keep source video inputs for writing, but remove their URI columns from output episode metadata so references resolve through the newly written chunk and file indices.
Cover the v2.1 read path with 11 tests mirroring the v3 test suite: - episode row emission with metadata, stats, frames, and video URIs - frame count mismatch detection and graceful skip with metrics - shard planning knob passthrough and shard count limit - vectorized filter, select, and map_table side-data alignment - describe() and HF dataset URL handling - task index remapping across multiple dataset roots
Shivang K Raghuvanshi (shivkr6)
force-pushed
the
main
branch
from
October 14, 2026 17:34
d15a4d6 to
7bbddb8
Compare
Contributor
Author
|
CI failure does not seem related to this PR. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #231
In-progress: need to update documentation