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

Adding dora-record script #197

Closed
wants to merge 1 commit into from
Closed

Conversation

haixuanTao
Copy link
Collaborator

@haixuanTao haixuanTao commented May 18, 2024

What this does

This PR adds a script to convert dora-record data into lerobot format using push_to_hub script.

How it was tested

Current test are done on ALOHA arms using dora-arms https://github.com/dora-rs/dora-arms

How to checkout & try? (for the reviewer)

To try it out you will find an example folder of what dora-record will output here

And you should be able to do something like:

python /lerobot/scripts/push_dataset_to_hub.py \                                                                                                                     
--data-dir 018f8b52-7414-7340-8f1e-d172f2f4ae2f \
--dataset-id dora-arms \
--raw-format dora_record \
--community-id haixuantao

But I wasn't able to do so, with error in the likes of:

Traceback (most recent call last):
  File "/home/rcadene/dora-aloha/aloha/../lerobot/lerobot/scripts/push_dataset_to_hub.py", line 346, in <module>
    main()
  File "/home/rcadene/dora-aloha/aloha/../lerobot/lerobot/scripts/push_dataset_to_hub.py", line 342, in main
    push_dataset_to_hub(**vars(args))
  File "/home/rcadene/dora-aloha/aloha/../lerobot/lerobot/scripts/push_dataset_to_hub.py", line 191, in push_dataset_to_hub
    download_raw(raw_dir, dataset_id)
  File "/home/rcadene/miniconda3/envs/aloha/lib/python3.10/site-packages/lerobot/common/datasets/push_dataset_to_hub/_download_raw.py", line 41, in download_raw
    raise ValueError(dataset_id)
ValueError: lego

This change is Reviewable

@haixuanTao haixuanTao added the 🗃️ Dataset Something dataset-related label May 18, 2024
@haixuanTao
Copy link
Collaborator Author

Superseded by #201

@haixuanTao haixuanTao closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ Dataset Something dataset-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants