Views
No views yet
1
2 python -m lerobot.record \
3 --robot.disable_torque_on_disconnect=true \
4 --robot.type=piper \
5 --robot.port=can0 \
6 --robot.cameras="{'handeye': {'type':'opencv', 'index_or_path':0, 'width':640, 'height':480, 'fps':30}, 'fixed': {'type':'opencv', 'index_or_path':2, 'width':640, 'height':480, 'fps':30}, 'extra': {'type':'opencv', 'index_or_path':4, 'width':640, 'height':480, 'fps':30}}" \
7 --teleop.type=so101_leader \
8 --teleop.port=/dev/ttyACM0 \
9 --teleop.id=R11 \
10 --display_data=true \
11 --dataset.repo_id=local/so101_piper_pickC2washer \
12 --dataset.num_episodes=30 \
13 --dataset.episode_time_s=40 \
14 --dataset.reset_time_s=5 \
15 --dataset.push_to_hub=false \
16 --resume=true \
17 --dataset.root=/home/paris/X/data/piper_data/piper_09_08 \
18 --dataset.single_task="piper pick cloth2washer"
19
20--resume=true \outputs/train/piper/piper_pickC2washer_1200001 nohup python scripts/train.py \
2 --dataset.repo_id=/home/paris/X/data/piper_data/piper_09_08 \
3 --policy.type=act \
4 --output_dir=outputs/train/piper/piper_pickC2washer_120000 \
5 --job_name=piper_pickC2washer \
6 --policy.device=cuda \
7 --batch_size=32 \
8 --steps=120000 \
9 --save_freq=5000 \
10 --eval_freq=5000 \
11 --log_freq=1000 \
12 --policy.push_to_hub=false \
13 > train.log 2>&1 &
14
151tail -f train.log
2/last/ work.1python scripts/deploy.py \
2 --robot.type=piper \
3 --robot.disable_torque_on_disconnect=true \
4 --robot.port=can0 \
5 --robot.cameras="{'handeye': {'type':'opencv', 'index_or_path':0, 'width':640, 'height':480, 'fps':30}, 'fixed': {'type':'opencv', 'index_or_path':2, 'width':640, 'height':480, 'fps':30}, 'extra': {'type':'opencv', 'index_or_path':4, 'width':640, 'height':480, 'fps':30}}" \
6 --display_data=true \
7 --dataset.single_task="piper_pickA2B" \
8 --policy.path=/home/paris/X/so101/lerobot/src/lerobot/outputs/train/piper/piper_pickC2washer_120000/checkpoints/last/pretrained_model \
9 --policy.device=cuda \
10 --dataset.episode_time_s=9999 \
11 --dataset.repo_id=local/eval_pickC2washer00 \
12 --dataset.push_to_hub=false
13