File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 27
27
--run-compute-stats 0
28
28
```
29
29
30
+ Enable the --push-to-hub 1 to push the recorded dataset to the huggingface hub.
31
+
30
32
- Visualize dataset:
31
33
```bash
32
34
python lerobot/scripts/visualize_dataset.py \
35
37
--episode-index 0
36
38
```
37
39
38
- - Replay this test episode:
40
+ - Replay a sequence of test episodes:
39
41
```bash
40
42
python lerobot/scripts/control_sim_robot.py replay \
43
+ --robot-path lerobot/configs/robot/your_robot_config.yaml \
41
44
--sim-config lerobot/configs/env/your_sim_config.yaml \
42
45
--fps 30 \
43
46
--root tmp/data \
44
- --repo-id $USER/koch_test \
45
- --episodes 0
47
+ --repo-id $USER/robot_sim_test \
48
+ --episodes 0 1 2 3
46
49
```
50
+ Note: The seed is saved, therefore, during replay we can load the same environment state as the one during collection.
47
51
48
52
- Record a full dataset in order to train a policy,
49
53
30 seconds of recording for each episode, and 10 seconds to reset the environment in between episodes:
59
63
```
60
64
61
65
**NOTE**: You can use your keyboard to control data recording flow.
62
- - Tap right arrow key '->' to early exit while recording an episode and go to resseting the environment.
63
- - Tap right arrow key '->' to early exit while resetting the environment and got to recording the next episode.
66
+ - Tap right arrow key '->' to early exit while recording an episode and go to reseting the environment.
67
+ - Tap right arrow key '->' to early exit while reseting the environment and got to recording the next episode.
64
68
- Tap left arrow key '<-' to early exit and re-record the current episode.
65
69
- Tap escape key 'esc' to stop the data recording.
66
70
This might require a sudo permission to allow your terminal to monitor keyboard events.
You can’t perform that action at this time.
0 commit comments