Instructions to use makepluscode/ch09-02-train-eval-smolvla-20000-step with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use makepluscode/ch09-02-train-eval-smolvla-20000-step 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=makepluscode/ch09-02-train-eval-smolvla-20000-step \ --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=makepluscode/ch09-02-train-eval-smolvla-20000-step - Notebooks
- Google Colab
- Kaggle
File size: 1,042 Bytes
84164ff | 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 34 35 36 37 38 | ---
license: apache-2.0
tags:
- lerobot
- smolvla
- vla-robotics
- so-arm101
library_name: lerobot
pipeline_tag: robotics
---
# smolvla-20000-step
VLA ๋ก๋ณดํฑ์ค ์
๋ฌธ์ ์์ ์ฉ SmolVLA ํ์ธํ๋ ์ฒดํฌํฌ์ธํธ์
๋๋ค.
## ๊ฒฝ๋ก (GitHub `code/` ์ ๋์)
| ํญ๋ชฉ | ๊ฐ |
|------|-----|
| ๋
ผ๋ฆฌ ๊ฒฝ๋ก | `vla-robotics/ch09/02-train-eval/smolvla-20000-step` |
| GitHub | [vla-robotics-examples](https://github.com/makepluscode/vla-robotics-examples) |
| ์์ ํด๋ | `code/ch09/02-train-eval/` |
| Hub ๋ชจ๋ธ ID | `makepluscode/ch09-02-train-eval-smolvla-20000-step` |
| ํ์ต step | 20000 |
| ๋ฐ์ดํฐ์
| `local/so_arm101_block_picking_aug200` |
| ๋ฒ ์ด์ค | `lerobot/smolvla_base` |
## ๋ก๋
```python
from lerobot.policies.smolvla.modeling_smolvla import SmolVLAPolicy
policy = SmolVLAPolicy.from_pretrained("makepluscode/ch09-02-train-eval-smolvla-20000-step")
```
์ ยทํ์ฒ๋ฆฌ๋ ๋์ผ ํด๋์ `policy_preprocessor.json` /
`policy_postprocessor.json` ์ `from_pretrained` ๋ก ํจ๊ป ๋ก๋ํฉ๋๋ค.
|