-
Notifications
You must be signed in to change notification settings - Fork 889
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
Gello dataset converter #575
Comments
@tlpss I'd be interested in partnering up on this. Before setting on a goal though, I'd love to pick your brain on the following:
|
Hi @vmayoral Thanks for your thoughts. I indeed was thinking about how to use data collected using the Gello codebase for training policies in Lerobot. (a posteriori integrating gello with lerobot as you described it). This come from our particular setup: We use GELLO arms to teleop robots, based on the original gello codebase. The codebase uses a specific format to store the interactions and I have written code to convert their dataset format into a Lerobot dataset. This dataset converter is my proposed contribution. However, your idea of directly integrating GELLO arms into the Lerobot codebase so that it can be used as a teleop solution makes a lot of sense. I think it is related to the question of what scope the |
@aliberts, any thoughts on this?
|
Regardless of upstream interest or integration, @tlpss, here's the port of gello on top of We found this of tremendous use so thought I'll drop it here in case of help. |
Hi @tlpss sorry for the late reply, I've been focusing on the current redesign.
Yes, definitely. We're still thinking about the best way to do that so that the resulting API is easy to use and intuitive but that's on the roadmap — although not at the top of the list for now. cc @Cadene @nepyope
Also yes. You can PR your conversion file into examples/port_datasets. The idea is to use the new dataset methods introduced in #461 with We don't really yet have a way to add multiple tasks per-episodes (should be coming soon) but you can hack it if you need to. Feel free to ask if you need any help! |
Thanks for the reply.
Ok great, for now I'm collecting the data for our real robots using a different codebase and then converting it to a LerobotDataset. Would be convenient if there was an abstraction to plug in any real robot setup and any teleop setup, while being able to use the data collection logic that is already provided here. For now (afaik) the data collection script is pretty tightly coupled to your robot setup? An abstraction that allows users to create their own 'gym interface' to a real robot setup, and similarly for their teleop system, would help to make things more generic I believe. Let me know if that is on the roadmap, certainly interested in trying it out and possibly also to help implement it!
Great, will do! For now my conversion file is still on dataset v1, but will find some time to update to v2 soon I hope. PS. Is there a public roadmap? Curious to see what is planned in the (near) future. |
I made a converter for the Gello dataset format (pickles containing dicts with all the observations).
If this is of interest, I am willing to contribute it back here.
The current code can be found here. It needs some cleanup and maybe a convenient way to specify the mapping of dict keys in case you have a different number of cameras or other sensors. Wanted to see if there is any interest in this, before I make the effort to clean it up.
The text was updated successfully, but these errors were encountered: