Add dataset cards (#363)

This commit is contained in:
Simon Alibert
2024-08-16 10:08:44 +02:00
committed by GitHub
parent bbe9057225
commit b98ea415c1
4 changed files with 49 additions and 4 deletions

View File

@@ -788,13 +788,16 @@ python lerobot/scripts/control_robot.py record \
--fps 30 \
--root data \
--repo-id ${HF_USER}/koch_test \
--tags tutorial \
--warmup-time-s 5 \
--episode-time-s 30 \
--reset-time-s 30 \
--num-episodes 2
```
This will write your dataset to `{root}/{repo-id}` (e.g. `data/cadene/koch_test`).
This will write your dataset locally to `{root}/{repo-id}` (e.g. `data/cadene/koch_test`) and push it on the hub at `https://huggingface.co/datasets/{HF_USER}/{repo-id}`. Your dataset will be automatically tagged with `LeRobot` for the community to find it easily, and you can also add custom tags (in this case `tutorial` for example).
You can look for other LeRobot datasets on the hub by searching for `LeRobot` tags: https://huggingface.co/datasets?other=LeRobot
Remember to add `--robot-overrides '~cameras'` if you don't have any cameras and you still use the default `koch.yaml` configuration.
@@ -998,6 +1001,7 @@ python lerobot/scripts/control_robot.py record \
--fps 30 \
--root data \
--repo-id ${HF_USER}/eval_koch_test \
--tags tutorial eval \
--warmup-time-s 5 \
--episode-time-s 30 \
--reset-time-s 30 \