villekuosmanen/busybox_push_green_button
Viewer • Updated • 2.47k • 152
How to use pravsels/smolvla_busybox_push_green_button with LeRobot:
# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .[smolvla]
# Launch finetuning on your dataset python lerobot/scripts/train.py \ --policy.path=pravsels/smolvla_busybox_push_green_button \ --dataset.repo_id=lerobot/svla_so101_pickplace \ --batch_size=64 \ --steps=20000 \ --output_dir=outputs/train/my_smolvla \ --job_name=my_smolvla_training \ --policy.device=cuda \ --wandb.enable=true
# Run the policy using the record function
python -m lerobot.record \
--robot.type=so101_follower \
--robot.port=/dev/ttyACM0 \ # <- Use your port
--robot.id=my_blue_follower_arm \ # <- Use your robot id
--robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \ # <- Use your cameras
--dataset.single_task="Grasp a lego block and put it in the bin." \ # <- Use the same task description you used in your dataset recording
--dataset.repo_id=HF_USER/dataset_name \ # <- This will be the dataset name on HF Hub
--dataset.episode_time_s=50 \
--dataset.num_episodes=10 \
--policy.path=pravsels/smolvla_busybox_push_green_buttonFull-component fine-tune of SmolVLA for busybox_push_green_button on SO101 data.
| Policy | SmolVLA (freeze_vision_encoder=false, train_expert_only=false) |
| Init checkpoint | lerobot/smolvla_base |
| Dataset | villekuosmanen/busybox_push_green_button |
| Task | busybox_push_green_button |
| Action dim | 6 (single-arm) |
| Cameras | native top / wrist / front remapped to camera1 / camera2 / camera3 |
| Training | Vast.ai 4× A100-80GB DDP, full-component, 30k steps, global batch 32 (8×4), chunk/action horizon 50, 720x1280 cameras |
| W&B project | smolvla_busybox_push_green_button |
| W&B run | e0cq4jze |
main is step 30,000. Intermediate steps are git tags:
| Step | Revision |
|---|---|
| 30000 | step-30000 (main) |
| 25000 | step-25000 |
| 20000 | step-20000 |
| 15000 | step-15000 |
| 10000 | step-10000 |
| 5000 | step-5000 |
from lerobot.policies.smolvla.modeling_smolvla import SmolVLAPolicy
policy = SmolVLAPolicy.from_pretrained("pravsels/smolvla_busybox_push_green_button")
# earlier step: revision="step-25000"
Base model
lerobot/smolvla_base