You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -276,7 +276,7 @@ Check out [example 2](https://github.com/huggingface/lerobot/blob/main/examples/
276
276
We also provide a more capable script to parallelize the evaluation over multiple environments during the same rollout. Here is an example with a pretrained model hosted on [lerobot/diffusion_pusht](https://huggingface.co/lerobot/diffusion_pusht):
Note: For efficiency, during training every checkpoint is evaluated on a low number of episodes. You may use `--eval.n_episodes=500` to evaluate on more episodes than the default. Or, after training, you may want to re-evaluate your best checkpoints on more episodes or change the evaluation settings. See `python -m lerobot.scripts.eval --help` for more instructions.
306
+
Note: For efficiency, during training every checkpoint is evaluated on a low number of episodes. You may use `--eval.n_episodes=500` to evaluate on more episodes than the default. Or, after training, you may want to re-evaluate your best checkpoints on more episodes or change the evaluation settings. See `lerobot-eval --help` for more instructions.
307
307
308
308
#### Reproduce state-of-the-art (SOTA)
309
309
310
310
We provide some pretrained policies on our [hub page](https://huggingface.co/lerobot) that can achieve state-of-the-art performances.
311
311
You can reproduce their training by loading the config from their run. Simply running:
Copy file name to clipboardExpand all lines: docs/source/hope_jr.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ pip install -e ".[hopejr]"
19
19
Before starting calibration and operation, you need to identify the USB ports for each HopeJR component. Run this script to find the USB ports for the arm, hand, glove, and exoskeleton:
20
20
21
21
```bash
22
-
python -m lerobot.find_port
22
+
lerobot-find-port
23
23
```
24
24
25
25
This will display the available USB ports and their associated devices. Make note of the port paths (e.g., `/dev/tty.usbmodem58760433331`, `/dev/tty.usbmodem11301`) as you'll need to specify them in the `--robot.port` and `--teleop.port` parameters when recording data, replaying episodes, or running teleoperation scripts.
@@ -31,7 +31,7 @@ Before performing teleoperation, HopeJR's limbs need to be calibrated. Calibrati
31
31
### 1.1 Calibrate Robot Hand
32
32
33
33
```bash
34
-
python -m lerobot.calibrate \
34
+
lerobot-calibrate \
35
35
--robot.type=hope_jr_hand \
36
36
--robot.port=/dev/tty.usbmodem58760432281 \
37
37
--robot.id=blue \
@@ -81,7 +81,7 @@ Once you have set the appropriate boundaries for all joints, click "Save" to sav
81
81
### 1.2 Calibrate Teleoperator Glove
82
82
83
83
```bash
84
-
python -m lerobot.calibrate \
84
+
lerobot-calibrate \
85
85
--teleop.type=homunculus_glove \
86
86
--teleop.port=/dev/tty.usbmodem11201 \
87
87
--teleop.id=red \
@@ -120,7 +120,7 @@ Once calibration is complete, the system will save the calibration to `/Users/yo
120
120
### 1.3 Calibrate Robot Arm
121
121
122
122
```bash
123
-
python -m lerobot.calibrate \
123
+
lerobot-calibrate \
124
124
--robot.type=hope_jr_arm \
125
125
--robot.port=/dev/tty.usbserial-1110 \
126
126
--robot.id=white
@@ -146,7 +146,7 @@ Use the calibration interface to set the range boundaries for each joint. Move e
146
146
### 1.4 Calibrate Teleoperator Exoskeleton
147
147
148
148
```bash
149
-
python -m lerobot.calibrate \
149
+
lerobot-calibrate \
150
150
--teleop.type=homunculus_arm \
151
151
--teleop.port=/dev/tty.usbmodem11201 \
152
152
--teleop.id=black
@@ -178,7 +178,7 @@ Due to global variable conflicts in the Feetech middleware, teleoperation for ar
@@ -214,7 +214,7 @@ Record, Replay and Train with Hope-JR is still experimental.
214
214
This step records the dataset, which can be seen as an example [here](https://huggingface.co/datasets/nepyope/hand_record_test_with_video_data/settings).
Copy file name to clipboardExpand all lines: docs/source/il_sim.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,10 +96,10 @@ If you uploaded your dataset to the hub you can [visualize your dataset online](
96
96
97
97
## Train a policy
98
98
99
-
To train a policy to control your robot, use the [`python -m lerobot.scripts.train`](https://github.com/huggingface/lerobot/blob/main/src/lerobot/scripts/train.py) script. A few arguments are required. Here is an example command:
99
+
To train a policy to control your robot, use the [`lerobot-train`](https://github.com/huggingface/lerobot/blob/main/src/lerobot/scripts/train.py) script. A few arguments are required. Here is an example command:
0 commit comments