pi0.5 fine-tuned on four xArm6 simulation datasets (best two checkpoints each)

Full fine-tunes of openpi's pi0.5 base (PyTorch, conditional flow matching) on four datasets, one model per dataset. For each dataset the two best checkpoints by closed-loop success (both suites together) are included. Observations are the table and wrist cameras at 224x224 plus eight actual joint positions; each call returns the next 20 absolute joint/gripper targets at 20 Hz (one second). Training and evaluation are simulation only.

Included checkpoints

folder dataset checkpoint suite 1 suite 2
pushing_v2/step_020000 Pushing step_020000 held-out ID test: 32/40 (65-90%) spatial OOD test: 30/40 (60-86%)
pushing_v2/step_010000 Pushing step_010000 held-out ID test: 30/40 (60-86%) spatial OOD test: 26/40 (50-78%)
pick_and_place_720/step_020000 Pick-and-place step_020000 training layouts: 115/120 (91-98%) spatial OOD: 0/120 (0-3%)
pick_and_place_720/step_005000 Pick-and-place step_005000 training layouts: 110/120 (85-95%) spatial OOD: 0/120 (0-3%)
flipping_400/step_020000 Mug flipping step_020000 training layouts: 67/80 (74-90%) spatial OOD: 17/80 (14-31%)
flipping_400/step_010000 Mug flipping step_010000 training layouts: 47/80 (48-69%) spatial OOD: 10/80 (7-22%)
cube_to_bowl_diverse400/n200_step_010000 Blue cube to bowl, data scaling n200_step_010000 held-out test layouts: 29/50 (44-71%) spatial OOD: 0/20 (0-16%)
cube_to_bowl_diverse400/n400_step_010000 Blue cube to bowl, data scaling n400_step_010000 held-out test layouts: 27/50 (40-67%) spatial OOD: 0/20 (0-16%)

Successes with Wilson 95% intervals. Full results for every evaluated checkpoint follow.

Pushing

push the tennis ball left/right of a cube or bowl (4 tasks); trained on 400 train episodes of bx6d/r2s2r-pushing-diverse400-v2 for 20k steps.

checkpoint held-out ID test spatial OOD test safe successes*
step_005000 30/40 (60-86%) 22/40 (40-69%) 0
step_010000 30/40 (60-86%) 26/40 (50-78%) 1
step_020000 32/40 (65-90%) 30/40 (60-86%) 6

Pick-and-place

blue cube / tennis ball / battery into a bowl or box (6 tasks); trained on 720 train episodes of bx6d/r2s2r-six-tasks-diverse720-fast-v2 for 20k steps.

checkpoint training layouts spatial OOD safe successes*
step_005000 110/120 (85-95%) 0/120 (0-3%) 102
step_010000 100/120 (76-89%) 0/120 (0-3%) 98
step_020000 115/120 (91-98%) 0/120 (0-3%) 115

Mug flipping

upright/upside-down/side to upright/upside-down (4 tasks); trained on 400 train episodes of bx6d/r2s2r-flipping-diverse400 for 20k steps.

checkpoint training layouts spatial OOD safe successes*
step_005000 17/80 (14-31%) 4/80 (2-12%) 4
step_010000 47/80 (48-69%) 10/80 (7-22%) 13
step_020000 67/80 (74-90%) 17/80 (14-31%) 39

Blue cube to bowl, data scaling

pick the blue cube and place it in the bowl (1 task); trained on nested subsets of the 400 train episodes of bx6d/r2s2r-blue-cube-to-bowl-diverse400 for 10k steps.

checkpoint held-out test layouts spatial OOD safe successes*
n025_step_005000 9/50 (10-31%) 0/20 (0-16%) 9
n025_step_010000 2/50 (1-13%) 0/20 (0-16%) 2
n050_step_005000 5/50 (4-21%) 0/20 (0-16%) 5
n050_step_010000 9/50 (10-31%) 0/20 (0-16%) 9
n100_step_005000 9/50 (10-31%) 0/20 (0-16%) 9
n100_step_010000 13/50 (16-40%) 0/20 (0-16%) 13
n200_step_005000 18/50 (24-50%) 0/20 (0-16%) 18
n200_step_010000 29/50 (44-71%) 0/20 (0-16%) 29
n400_step_005000 25/50 (37-63%) 0/20 (0-16%) 24
n400_step_010000 27/50 (40-67%) 0/20 (0-16%) 27

* successes whose measured joint acceleration also stayed within the evaluator's 5 rad/s² limit (see protocol).

Evaluation protocol

Closed-loop rollouts in the repository's online evaluator (BX126/r2s2r-new @ a8e54e6, portable scenes bx6d/r2s2r-online-eval-assets-v1): Blender EEVEE observations before every chunk, MuJoCo position actuators at 500 Hz, 100 Hz servo commands, 20-step chunks, 90 s timeout. Safety aborts count as failures: workspace bounds, joint limits, arm and hand collisions (any robot contact except with the manipulated object), reference-object contact, wrist-camera clearance and joint-speed limits.

Suites (all in evaluation/):

  • Pushing: the release's held-out test split, 40 ID test episodes and 40 spatial-OOD episodes (disjoint initial ball/reference offsets).
  • Pick-and-place and flipping: *_spatial_ood_v1 places objects at least 9 cm from every training position and 8 cm outside the training envelope (120 and 80 trials). These releases have no held-out ID episodes, so *_seen_v1 uses 20 training layouts per task (recorded resets, cameras and lighting) as the trained-layout check; it is not a held-out test.
  • Cube to bowl: 50 held-out test episodes of the diverse400 parent release (cube_bowl_diverse_test_v1) and the 20 cube-to-bowl trials of the pick-and-place spatial-OOD suite.

Command execution used the evaluator's opt-in --command-limits clamp mode (added for these evaluations): instead of aborting when the C1 spline through a policy's raw targets exceeds the command limits (0.3 rad/s and 5 rad/s², flipping 0.6 rad/s and 1.2 rad/s²), commands are passed through a velocity/acceleration limiter that brakes to stop at the target (flipping capped at 0.48 rad/s, below its 0.5 rad/s actual-speed abort). Commands start from the actuator setpoint at reset, and measured joint accelerations above 5 rad/s² are recorded instead of aborting; the safe successes column counts successes that also stayed within that limit. With the default protocol every learned policy aborts on its first chunk.

Files

<dataset folder>/<checkpoint>/model.safetensors   FP32 weights (14.5 GB; lm_head tied to the embeddings)
<dataset folder>/<checkpoint>/norm_stats.json     train-only q01/q99 normalization, required for inference
<dataset folder>/<checkpoint>/config.json         training configuration
inference_example.py                              standalone policy wrapper (matches the evaluation server)
evaluation/                                       suites, per-checkpoint results and the selection

Optimizer states are not included.

Inference

Python 3.11, torch 2.7.1, rlinf-openpi==0.1.1 with openpi's patched Transformers modules, the PaliGemma tokenizer, and JAX_PLATFORMS=cpu.

from huggingface_hub import snapshot_download
import sys

path = snapshot_download("bx6d/r2s2r-pi05-four-datasets", allow_patterns=["pushing_v2/step_020000/*", "inference_example.py"])
sys.path.insert(0, path)
from inference_example import INSTRUCTIONS, Policy

policy = Policy(f"{path}/pushing_v2/step_020000", device="cuda")
actions = policy(table_rgb, wrist_rgb, joint_state, "Push the tennis ball to the left of the cube.", seed=0)
# actions: float (20, 7) -> per 50 ms step: joint1..joint6 absolute targets (rad), gripper command

Inputs are uint8 RGB (224, 224, 3) table and wrist images and the 8 actual joint positions (six arm joints and two gripper driver joints, radians). Use the training instruction of the task verbatim. The example reproduces the evaluation server's actions exactly on the same input and seed.

Training

  • Recipe: full fine-tune from pi05_base, global batch 64 (one GPU, two microbatches of 32), AdamW (betas 0.9/0.95, weight decay 0.01), peak LR 1e-5 with 500 warmup steps and cosine decay to 10% at the final step, BF16 compute with FP32 master weights. Pushing, pick-and-place and flipping ran 20k steps (checkpoints at 5k/10k/20k); the cube-to-bowl data-scaling runs ran 10k steps (5k/10k) on nested subsets of 25, 50, 100 and 200 episodes stratified by layout pattern and robot-start region, plus the full 400 (trained earlier with the same hyperparameters, split over three GPUs).
  • Hardware: one NVIDIA B300 per run, about 1.5 s per step (about 8 hours for 20k steps); no parameter sharding or gradient checkpointing.

Limitations

  • Simulation only; camera/lighting OOD is not tested.
  • Pick-and-place and flipping trained-layout results are on training layouts, not held-out episodes.
  • Spatial-OOD pick-and-place success is at most 0 of 120 trials; out-of-distribution success is low for every dataset except pushing.
  • Command execution used the clamp mode described above, not the evaluator's default abort-on-violation protocol.

License

No license has been assigned to these weights. They are derived from openpi's pi05_base (Physical Intelligence) and PaliGemma, so the upstream terms (including the Gemma Terms of Use) apply.

Downloads last month

-

Downloads are not tracked for this model. How to track
Video Preview
loading

Datasets used to train bx6d/r2s2r-pi05-four-datasets