🧪 Novos tutoriais em andamento — do braço robótico ao sensor
Ir para o conteúdo
Compre este produtoLoja oficialSite oficial

Etapa 8: Comando de inferência — SmolVLA ​

A implantação usa sempre lerobot-rollout; para o uso e os parâmetros, consulte Descrição da linha de comando.

Ubuntu ​

  • Excluir o dataset existente (se houver)
Shell
sudo chmod 666 /dev/ttyACM*
sudo rm -rf /home/<usuario>/.cache/huggingface/lerobot/<usuario>/rollout_lerobot_my_dataset_shake_hands
  • Linha de comando de implantação
Shell
lerobot-rollout  \
  --strategy.type=base \
  --robot.type=so101_follower \
  --robot.port=/dev/ttyACM0 \
  --robot.cameras="{ front: {type: opencv, index_or_path: 0, width: 1280, height: 720, fps: 30, fourcc: "MJPG"}}" \
  --robot.id=my_follower_arm \
  --policy.path=/home/<usuario>/Downloads/lerobot_output/shake/smolvla/40K/pretrained_model \
  --task="Shake Hands" \
  --duration=60 \
  --display_data=false

Mac ​

  • Excluir o dataset existente (se houver)
Shell
sudo rm -rf /Users/<usuario>/.cache/huggingface/lerobot/<usuario>/rollout_lerobot_my_dataset_shake_hands
  • Linha de comando de implantação
Shell
lerobot-rollout  \
  --strategy.type=base \
  --robot.type=so101_follower \
  --robot.port=/dev/tty.usbmodem5AAF2193061 \
  --robot.cameras="{front: {type: opencv, index_or_path: 0, width: 1280, height: 720, fps: 30, fourcc: "MJPG"}}" \
  --robot.id=my_follower_arm \
  --policy.path=/Users/<usuario>/Downloads/7-lerobot/shake/smolvla/40K/pretrained_model \
  --task="Shake Hands" \
  --duration=60 \
  --display_data=false

image.png

image.png