Robotics
LeRobot
Safetensors
pi05
vla
bimanual

PL-2 M box sorting — π0.5 fine-tune

A vision-language-action policy for PL-2 M, PinkLab's mobile bimanual robot (two 7-DoF OpenArm v2 arms). At a table it takes medicine boxes one at a time out of the slots of one basket, passes each past a barcode scanner, and puts it into a slot of the other basket. The top camera image carries a drawn cue that marks the slot to pick from and the slot to put into.

Fine-tuned from lerobot/pi05_base on pinklab-art/pl2m-moving-masked, the same data as pinklab-art/pl2m-moving-groot.

Quick start

pip install "lerobot[pi]==0.6.0"     # transformers >=5.4,<5.6
huggingface-cli login                # the tokenizer google/paligemma-3b-pt-224 is gated
python predict.py --demo --episode 0 --frame 300

--demo takes one frame of the masked dataset, predicts a chunk and compares it with the actions that were recorded. Measured on a Jetson AGX Thor:

task='v1' chunk=(50, 16)
mean |predicted - recorded| over 50 steps: arms 0.0440 rad, grippers 0.0021

From Python:

from predict import Pi05Predictor
p = Pi05Predictor("pinklab-art/pl2m-moving-pi05")
chunk = p.predict(images, state, task="v1")   # (50, 16): next 50 steps at 30 Hz

Inputs and outputs

Cameras top 960×540, right_gripper 960×600, left_gripper 960×600, RGB uint8. The saved preprocessor renames them to base_0_rgb, right_wrist_0_rgb, left_wrist_0_rgb
State 16 joint positions: right arm 7 (rad), right gripper 1, left arm 7, left gripper 1
Language "v1" (single task)
Output 50 × 16 absolute joint targets, same order as the state, 30 Hz

The order is right arm first. Swapping the arms does not raise an error, it drives one arm with the other's motion.

The frames must look like the training frames

The policy was trained on processed camera frames, and raw frames will make it act wrong without any error. Everything except the items, baskets, arms, grippers and scanner is painted black by an observation masker, and the top image has the pick and put-down slots highlighted. Frames from pinklab-art/pl2m-moving-masked already carry both. The masker weights and the cue geometry are in pinklab-art/pl2m-moving-groot (best.pt, masker.json, cue.json).

Training

Training code: pinklab-art/pl2m-training. This model was trained with lerobot's own lerobot-train from this repository's train_config.json (see that repository's π0.5 section).

Base lerobot/pi05_base
Data 2,026 episodes, 1,361,886 frames at 30 fps: 1,000 teleoperated demonstrations + 342 human-takeover segments from policy rollouts, repeated ×3
Steps 83,000, batch 16, peak lr 2.5e-5, cosine decay to 2.5e-6 (1,000 warmup steps)
Hardware 1 × NVIDIA H200, about 16 h (2026-11-03 → 11-04)

train_config.json holds the full training config.

Files

File
model.safetensors, config.json policy weights and config
policy_preprocessor*.json/.safetensors, policy_postprocessor* camera renaming, quantile normalisation, tokenizer
train_config.json training config
predict.py standalone prediction and the demo above

Limitations

  • Trained for one robot, one table layout and one task. It is not a general policy.
  • Real-robot behaviour depends on the serving loop (chunk timing, real-time chunking). This repo only covers prediction.

License

These weights are a fine-tune of lerobot/pi05_base, which builds on PaliGemma and is released under the Gemma license. Gemma is provided under and subject to the Gemma Terms of Use, including the Gemma Prohibited Use Policy. predict.py is Apache-2.0.

Downloads last month
15
Safetensors
Model size
4B params
Tensor type
F32
·
BF16
·
Video Preview
loading

Model tree for pinklab-art/pl2m-moving-pi05

Finetuned
(992)
this model

Dataset used to train pinklab-art/pl2m-moving-pi05