forked from huggingface/lerobot
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path9__run_client.sh
More file actions
executable file
·33 lines (30 loc) · 1.07 KB
/
9__run_client.sh
File metadata and controls
executable file
·33 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
source ~/miniconda3/etc/profile.d/conda.sh
conda activate lerobot
HF_USER=$(hf auth whoami | head -n 1)
echo $HF_USER
python src/lerobot/camera_prop.py \
--config_path=src/lerobot/camera_prop.yaml \
--usercon=false
# python src/lerobot/scripts/server/robot_client.py \
python src/lerobot/scripts/piper/main.py \
--server_address=127.0.0.1:8088 \
--robot.type=piper_follower \
--robot.port=can_follower \
--robot.id=black \
--robot.cameras="{ \
top: {type: opencv, index_or_path: '/dev/video4', width: 640, height: 480, fps: 30}, \
hand: {type: opencv, index_or_path: '/dev/video12', width: 640, height: 480, fps: 30}}" \
--pretrained_name_or_path=wego-hansu/piper_smolvla_teleop_033_D \
--policy_type=smolvla \
--policy_device=cuda \
--actions_per_chunk=50 \
--chunk_size_threshold=0.8 \
--aggregate_fn_name=average \
--debug_visualize_queue_size=false \
--task="Pick the car and put in the box" \
--fps=30 \
--action_log=true \
--obs_log=true \
# --server_address=192.168.0.42:8088 \
# --server_address=127.0.0.1:8088 \
# --pretrained_name_or_path=wego-hansu/piper_teleop_smolvla \