Instructions to use Nemanja26/smolvla-panda-tower-builder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Nemanja26/smolvla-panda-tower-builder 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=Nemanja26/smolvla-panda-tower-builder \ --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=Nemanja26/smolvla-panda-tower-builder - Notebooks
- Google Colab
- Kaggle
SmolVLA โ Franka Panda tower builder (simulation)
SmolVLA fine-tuned to pick a coloured block and place it on a tower, with a Franka Panda in a Gazebo simulation. One instruction per block, e.g. "Pick up the red block and place it on the tower."
Inputs and outputs
- Images:
observation.images.top(256x256, fixed third-person camera) andobservation.images.wrist(320x240), renamed tocamera1/camera2by the bundled preprocessor. - State (8): 7 arm joint angles (rad) + one finger position (m).
- Action (8): next 7 joint targets (rad) + gripper (+1 open, -1 close), 30 fps, chunks of 50.
The bundled config.json still lists observation.state as 6-D (inherited from
the base checkpoint); the normalizer statistics are 8-D and authoritative.
Training
- Base:
IDEAS-Lab-Northwestern/smolvla-base-datagen-v1-jar-joint-2cam - Data: 1169 episodes (498k frames) of MoveIt demonstrations with randomized block positions; only clean placements kept (within 15 mm and 5 deg).
- 20k steps, batch 32, lerobot 0.5.1; selected checkpoint: step 20000.
- Validation loss: 0.741 (base) -> 0.103.
Results in simulation (8 builds)
| blocks held by the gripper | 5 / 12 |
| blocks placed on the tower | 3 / 12 |
| full three-block towers | 0 |
Known limitations
- Stops its final descent about 5 cm above the block, so grasps often close too high.
- Largely ignores the colour in the instruction: the training data always used the order blue, green, red.
- Good offline prediction (about 1.5 deg joint error) does not carry over to closed-loop control yet.
Simulation only; not tested on a real robot.
- Downloads last month
- 14
Model tree for Nemanja26/smolvla-panda-tower-builder
Base model
HuggingFaceTB/SmolLM2-360M Quantized
HuggingFaceTB/SmolLM2-360M-Instruct Quantized
HuggingFaceTB/SmolVLM-500M-Instruct Finetuned
lerobot/smolvla_base