fix mistakes

This commit is contained in:
Nikodem Bartnik
2026-05-14 09:26:27 +02:00
parent 708c1d7d3f
commit 58b18410ee
+9 -9
View File
@@ -76,9 +76,9 @@ lerobot-record \
While collecting the dataset you can control the process with your keyboard: While collecting the dataset you can control the process with your keyboard:
Control the data recording flow using keyboard shortcuts: Control the data recording flow using keyboard shortcuts:
- Press **Right Arrow (```→```)**: Early stop the current episode or reset time and move to the next. - Press **Right Arrow (```→```)**: Save episode and move to the next.
- Press **Left Arrow (```←```)**: Cancel the current episode and re-record it. - Press **Left Arrow (```←```)**: Delete current episode and retry.
- Press **Escape (```ESC```)**: Immediately stop the session, encode videos, and upload the dataset. - Press **Escape (```ESC```)**: Stop, encode videos, and upload.
### Training ### Training
Depending on your hardware training the policy might take a few hours. Depending on your hardware training the policy might take a few hours.
@@ -94,17 +94,17 @@ lerobot-train \
--steps=20000 --steps=20000
``` ```
What you can change: - Policy Types: ```act```, ```diffusion```, ```smolvla```, ```pi05```
- polic.type: act, smolvla, pi05 - Devices: ```cuda``` (NVIDIA), ```mps``` (Apple Silicon), ```cpu```
- policy.device: cuda, mps, cpu
- number of steps: how long will the model train
### Inference ### Inference
Inference means running the trained policy/model on a robot. For that we use ```lerobot-rollout```. You will need to provide a path to your policy. It can be a local path or a path to Hugging Face for example "lerobot/folding_latest". Your cameras configuration need to match what was used when collecting the dataset. Duration is in seconds if unspecified it will run forever. Inference means running the trained policy/model on a robot. For that we use ```lerobot-rollout```. You will need to provide a path to your policy. It can be a local path or a path to Hugging Face for example "lerobot/folding_latest". Your cameras configuration needs to match what was used when collecting the dataset. Duration is in seconds if unspecified, it will run forever.
> [!TIP] > [!TIP]
> If you are using the previous release V0.5.1 instead of ```lerobot-rollout``` you need to use ```lerobot-record``` > If you are using the previous release V0.5.1 instead of ```lerobot-rollout``` you need to use ```lerobot-record```. More information [here](https://huggingface.co/docs/lerobot/v0.5.1/en/il_robots#run-inference-and-evaluate-your-policy).
``` bash ``` bash
lerobot-rollout \ lerobot-rollout \