-
Notifications
You must be signed in to change notification settings - Fork 482
Check dataset version when loading LeRobot dataset #9233
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
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
return false; | ||
} | ||
|
||
["meta_data", "data"].iter().all(|subdir| { |
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.
This needs a comment pointing out the difference with v2 -- this took me a while lol.
Also, is there really nothing better we can do here? 😭
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.
Added a comment.
I can't really think of any other method that doesn't require us to parse the actual dataset info file. The schema is a bit different between v1 and v2 datasets, so we'd have to parse it differently.
0788b2e
to
a4024f9
Compare
Related
What
The loader now explicitly validates the dataset version, preventing unexpected behavior or silent failures due to unsupported dataset versions.