-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] main from huggingface:main #12
Conversation
Co-authored-by: Remi <[email protected]> Co-authored-by: Remi Cadene <[email protected]>
Co-authored-by: Simon Alibert <[email protected]>
🚨 gitStream Monthly Automation Limit Reached 🚨 Your organization has exceeded the number of pull requests allowed for automation with gitStream. To continue automating your PR workflows and unlock additional features, please contact LinearB. |
Reviewer's Guide by SourceryThis pull request introduces several enhancements and bug fixes to the LeRobot dataset library. It updates the codebase version to v2.1, adds support for managing tasks, improves video encoding and information handling, enhances dataset upload functionality, improves timestamp synchronization checks, and adds frame validation to ensure data integrity. Sequence diagram for loading metadata with cache syncsequenceDiagram
participant L as LeRobotDatasetMetadata
participant FS as File System
L->L: __init__(repo_id, root, revision, force_cache_sync=True)
alt force_cache_sync is True
L->L: load_metadata()
alt FileNotFoundError or NotADirectoryError
L->FS: Check if revision is valid
FS-->L: True
L->L: get_safe_version(repo_id, revision)
L->FS: Create meta directory
L->L: pull_from_repo(allow_patterns="meta/")
L->FS: Download metadata files
FS-->L: Metadata files
L->L: load_metadata()
L->FS: Load metadata files
FS-->L: Metadata
else valid metadata found
L->FS: Load metadata files
FS-->L: Metadata
end
end
Sequence diagram for saving an episodesequenceDiagram
participant L as LeRobotDataset
participant LM as LeRobotDatasetMetadata
participant FS as File System
L->L: save_episode(episode_data)
L->L: validate_episode_buffer(episode_buffer, ...)
L->LM: get_task_index(task) for each task in episode_tasks
alt task_index is None
LM->LM: add_task(task)
LM->FS: append_jsonlines(task_dict, TASKS_PATH)
end
L->L: _wait_image_writer()
L->L: _save_episode_table(episode_buffer, episode_index)
L->L: compute_episode_stats(episode_buffer, features)
L->L: encode_episode_videos(episode_index)
L->LM: save_episode(episode_index, episode_length, episode_tasks, episode_stats)
LM->FS: write_episode_stats(episode_index, episode_stats, root)
LM->FS: write_info(info, root)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
This pull request introduces several enhancements and bug fixes to the LeRobot dataset, including improved data loading, version compatibility checks, video encoding, and timestamp synchronization. It also updates the Dockerfile and adds new tests to ensure the correctness of the changes.
Enhancements:
Build:
Tests: