-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add support for add_feature in lerobot_edit_dataset.py
#2331
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds support for a new add_feature operation to the lerobot_edit_dataset.py script, enabling users to add new features to existing datasets by loading data from numpy files.
- Implements
handle_add_featurefunction with validation for data length, metadata, and file existence - Adds
AddFeatureConfigdataclass for configuration - Updates documentation with usage examples
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: atharva <62803658+vovw@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: atharva <62803658+vovw@users.noreply.github.com>
|
@jadechoghari ? wdyt |
What this does
Adds add_feature operation to the lerobot_edit_dataset script, allowing users to add
new features to existing datasets from numpy files.
How it was tested
src/lerobot/scripts/lerobot_edit_dataset.pyCreate a sample feature file
Add feature to dataset
resolves one of the #2326