Skip to content
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

Refactor OpenX #505

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

michel-aractingi
Copy link
Collaborator

What this does

Simplifies OpenX files by focusing only on the RLDS format. Remove unnecessary file from OpenVLA for training with OpenX. Now all RLDS datasets (OpenX and others) can use this format freely.

Adds missing features and observations from the RLDS format to LeRobotDataset, e.g., is_first, is_terminal, discount...

Example:

 python lerobot/scripts/push_dataset_to_hub.py \
        --raw-dir /fsx/michel_aractingi/datasets/maniskill_dataset_converted_externally_to_rlds/0.1.0 \
        --repo-id lerobot/maniskill_dataset \
        --raw-format rlds 

How it was tested

Visualize datasets to make sure they were pushed correctly

python lerobot/scripts/visualize_dataset_html.py --repo-id lerobot/maniskill_dataset --episodes 0 1 2 3 4

NOTE: will only push after LeRobotDatasetV2 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant