lerobot_evaluate_policy.sh
Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/lerobot/demo_scripts/lerobot_evaluate_policy.sh
#huggingface-cli login --token ${HUGGINGFACE_TOKEN} --add-to-git-credential
export CUDA_VISIBLE_DEVICES=0
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
lerobot-record \
--robot.type=so101_follower \
--robot.port=/dev/ttyACM1 \
--robot.id=follower_arm \
--teleop.type=so101_leader \
--teleop.port=/dev/ttyACM0 \
--teleop.id=leader_arm \
--robot.cameras="{front: {type: intelrealsense, serial_number_or_name: 420222071192, fps: 30, width: 640, height: 480, color_mode: RGB, use_depth: true}}" \
--display_data=false \
--dataset.root=./hugging_face_smolvla \
--dataset.num_episodes=30 \
--dataset.reset_time_s=5 \
--dataset.repo_id=${HF_USER}/eval_pick_place_smolvla_rgbd \
--policy.path=${HF_USER}/lerobot_pick_and_place_smolvla_rgbd \
--dataset.single_task="put box from A to B"
Articles liés
alloc.c
alloc.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/alloc.c).
Lire l'article →hello.c
hello.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/hello.c).
Lire l'article →mlock_demo.c
mlock_demo.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/mlock_demo.c).
Lire l'article →debug_perf.py
debug_perf.py — python source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/debug_perf.py).
Lire l'article →inference.py
inference.py — python source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/inference.py).
Lire l'article →startup.sh
startup.sh — bash source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/startup.sh).
Lire l'article →