1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | cd -- "{{ PROJECT_DIR }}"
export HF_HUB_OFFLINE=1
lerobot-rollout \
--strategy.type=base \
--policy.path={{ POLICY_PATH }} \
--robot.type=so101_follower \
--robot.port={{ ROBOT_PORT }} \
--robot.id=my_follower_arm \
--robot.cameras="{front: {type: opencv, index_or_path: '/dev/video0', backend: 200, width: 640, height: 480, fps: 30, fourcc: 'MJPG'}}" \
--device=cuda \
--fps=30 \
--duration=60 \
--task="Pick up the red cube" \
--display_data=false \
--play_sounds=true \
--return_to_initial_position=true
|
base戦略ではデータを記録しないため、--dataset.*引数を追加しません。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | cd -- "{{ PROJECT_DIR }}"
export HF_HUB_OFFLINE=1
lerobot-rollout \
--strategy.type=base \
--policy.path={{ POLICY_PATH }} \
--robot.type=so101_follower \
--robot.port={{ ROBOT_PORT }} \
--robot.id=my_follower_arm \
--robot.cameras="{front: {type: opencv, index_or_path: 0, width: 640, height: 480, fps: 30}}" \
--device=mps \
--fps=30 \
--duration=60 \
--task="Pick up the red cube" \
--display_data=true \
--return_to_initial_position=true
|