Instructions to use Low101/smolvla_bsp_parcel_b_40k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Low101/smolvla_bsp_parcel_b_40k 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=Low101/smolvla_bsp_parcel_b_40k \ --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=Low101/smolvla_bsp_parcel_b_40k - Notebooks
- Google Colab
- Kaggle
smolvla_bsp_parcel_b_40k
SmolVLA-BSP: SmolVLA that predicts B-spline curves.
This model is part of the project Parcel sorting with a LeRobot SO-101 arm. The code and the full results are in the GitHub repository. The project page is https://timeisgold5168.github.io/.
Task
One SO-101 arm picks a parcel from a heap and places it in a flip zone. If the label is up, the arm flips the parcel. Then it pushes the parcel off the table, label down. One parcel is one episode.
Training
| Item | Value |
|---|---|
| Policy | SmolVLA (450M parameters): the action expert (100M) trains, the vision encoder is frozen; B-spline outputs (B-spline Policy, arXiv:2607.09648) |
| Init | smolvla_parcel_b_80k |
| Data | dataset B: 99 demos, 73,444 frames |
| Training | 40k steps, batch 12, 13.8 h |
| Checkpoint | step 40k |
| LeRobot | commit 64b23178 |
| GPU | one laptop GPU, 6 GB |
Inputs and outputs
observation.images.top: 848×480, above the tray, 30 fps.observation.images.wrist: 640×480, on the gripper, 30 fps.observation.images.side: 640×480, beside the table, 30 fps.observation.state: the 6 joint positions of the SO-101 follower.- Task text: "sort the parcel so the label faces down and push it off the table".
- Output: joint targets of the 6 joints.
This model predicts B-spline segments, not action chunks: 16 rows of a knot time and the control points of the 6 joints. It needs the B-spline executor of the repository (parcel_vla/robot/run_bsp_parcel.py); lerobot-rollout cannot run it. bsp.json holds the spline settings. The saved processors rename the cameras top, wrist and side to camera1, camera2 and camera3, and hold the tokenizer.
Results
- 5-parcel heap at 1.5× speed: 4/5 parcels cleared in 219 s (one run).
- Plan time: 258 ms, and 148 ms with the compiled denoising step of the repository.
Use
NOTE: This model learned one scene: my tray, my camera poses, my lighting and my self-made parcels. On another setup it will likely not work as it is. Use it to test the code, or as a start point to fine-tune on your own demos.
Install LeRobot at commit
64b23178and the repository. See the installation steps.Download the model into the checkpoint layout of the scripts:
hf download Low101/smolvla_bsp_parcel_b_40k --local-dir outputs/train/smolvla_bsp_parcel_b_40k/checkpoints/last/pretrained_modelPut the arm at the home pose, and build the heap.
Run the model (model name
smolvla_bsp_bin the scripts):python -m parcel_vla.robot.run_bsp_parcel --model smolvla_bsp_b --level easy \ --speed 1.5 --blend 0.2 --compile default
Limits
- One scene, one operator and a small dataset.
- Most robot tests have few trials and one heap for each model. They give an indication, not a controlled comparison.
- Downloads last month
- 26
Model tree for Low101/smolvla_bsp_parcel_b_40k
Base model
HuggingFaceTB/SmolLM2-360M