--- license: apache-2.0 library_name: openpi tags: - robotics - imitation-learning - pi05 - lerobot - ur7e - inspire-hand --- # pi05 post-trained on a real UR7e + Inspire hand block-stacking task — from pi05 base A [pi05](https://github.com/Physical-Intelligence/openpi) policy fully fine-tuned on real UR7e + Inspire hand demonstrations for 20,000 steps. It starts from `pi05_base` (openpi). Other models trained on the same 200 episodes: [`Geoffrey19/cei2-groot-n17-base-blockstack200-40k`](https://huggingface.co/Geoffrey19/cei2-groot-n17-base-blockstack200-40k) (GR00T N1.7 from the base checkpoint); [`Geoffrey19/cei2-groot-n17-ur7e-inspirehand-112h-blockstack200-40k`](https://huggingface.co/Geoffrey19/cei2-groot-n17-ur7e-inspirehand-112h-blockstack200-40k) (GR00T N1.7 from the CEI UR7e + Inspire hand mid-training). ## Data Real teleoperated demonstrations on a UR7e arm (6 joints) with an Inspire hand: `cei/block_stack_zwx_pi05_top200`, task *"Stack the blocks from the left and right sides of the table onto the middle block one by one."* - **200 episodes, 46,531 frames at 15 Hz**, 145–371 frames (15.5 s on average) per episode. - **One exterior RGB camera**, 640×480. - **State and action are 12-D**: the 6 UR joints in radians and the Inspire hand's 6 actuators normalised to 0–1 (1 = open). `observation.state` is the recorded state. The dataset describes `action` as `accepted_tcp_ik_rad_and_inspire_actuator_normalized`: the joint targets accepted from the teleoperation's inverse kinematics, and the normalised hand actuator command. - **Selection.** The dataset's authors identified 215 block-stacking episodes, recorded on 2026-11-30 (from 14:42 Asia/Shanghai) and on 2026-12-01, and kept the 200 with the best technical quality score (frame intervals, recording gaps, sensor delays); by their export report the 15 dropped episodes are from 2026-11-30. 147 of the 200 are from 2026-11-30 and 53 from 2026-12-01. Both this task and the bread task were recorded in one task folder whose stored instruction is the bread task's; the authors set the block-stacking instruction after checking the session times and the video frames. - **All 200 episodes were used for training.** There is no held-out split, so no evaluation is reported. - **Task success was not assessed.** Every episode's `task_outcome` in the dataset's provenance file is `not_assessed`. - The data were downloaded on 2026-12-01. ## Training | | | |---|---| | openpi config | `cei2_pi05_blockstack200_absq` (CEI-2.0 repository, `docker/openpi_cei2_configs.py`) | | actions | 16-step chunks of **absolute** 12-D joint targets | | state | the recorded 12-D state, quantile-normalised and discretised into the prompt (`discrete_state_input=True`, openpi's pi05 default) | | normalisation | quantiles over the training set, q01/q99 mapped to −1/+1 (`assets/blockstack200/norm_stats.json`) | | steps / batch | 20,000 / 32, on 4 GPUs (8 per GPU) | | learning rate | 2e-5 peak after 500 warmup steps, cosine decay to 1e-6 | | precision | float32 master weights and optimiser state, bfloat16 autocast; no EMA | | weights | float32, 3.62 B parameters (812 tensors) | | steps | training loss | |---|---| | 0–100 | 0.0683 | | 4,900–5,000 | 0.0092 | | 9,900–10,000 | 0.0062 | | 14,900–15,000 | 0.0049 | | 19,000–20,000 | 0.0032 | Mean training loss (the model's own flow-matching objective) over the logged steps of each window. These are fits to the training episodes, not measures of policy quality. ## Joint order The 12 values are used in the recorded order, which `joint_order.json` lists: | dims | joints | |---|---| | 0–5 | UR7e: `ur_joint_0.pos` … `ur_joint_5.pos` (radians) | | 6–11 | Inspire hand actuators: `inspire_pinky_flexion.pos`, `inspire_ring_flexion.pos`, `inspire_middle_flexion.pos`, `inspire_index_flexion.pos`, `inspire_thumb_flexion.pos`, `inspire_thumb_rotation.pos` (0–1, 1 = open) | **The hand part is not the joint set of the CEI `ur7e_inspirehand` robot model**, which has 12 hand joints. Here the hand has 6 actuator values, so there is no permutation between the two: a policy trained only on CEI renders cannot be driven with these values without a mapping. No reordering is applied. The statistics in `assets/blockstack200/norm_stats.json` were computed on these 200 episodes with openpi's own `compute_norm_stats`. They agree with the dataset's own `assets/cei/block_stack_zwx_pi05_top200/norm_stats.json` to within 0.09 of its standard deviation for the mean and the standard deviation (0.28 for the quantiles); the model was trained with the ones in this repo. Apply them only through this config. ## Files ``` model.safetensors step 20,000 (final) assets/blockstack200/norm_stats.json REQUIRED: the statistics the model was trained with openpi_cei2_configs.py REQUIRED: defines the openpi config cei2_pi05_blockstack200_absq train_config.json the resolved training config, read from metadata.pt joint_order.json the joint names (recorded order = model order) metadata.pt openpi training metadata ``` `openpi_cei2_configs.py` is the exact file the training job installed (md5 prefix `173849050ad6`, as printed in its log). The optimiser state (26 GB) is not included. ## Usage Needs openpi at commit `215abfb` (with its PyTorch `transformers_replace` patch installed) and the config in `openpi_cei2_configs.py`, registered the way the CEI-2.0 openpi image does it: 1. Copy `openpi_cei2_configs.py` to `src/openpi/training/cei2_configs.py`. 2. In `src/openpi/training/config.py`, insert before the line `_CONFIGS_DICT = {config.name: config for config in _CONFIGS}`: ```python from openpi.training import cei2_configs as _cei2_configs # noqa: E402 _CONFIGS = [*_CONFIGS, *_cei2_configs.get_configs()] ``` ```python import openpi.training.config as _config from openpi.policies import policy_config config = _config.get_config("cei2_pi05_blockstack200_absq") policy = policy_config.create_trained_policy(config, "") out = policy.infer({ "image": rgb, # (480, 640, 3) uint8, the exterior camera "state": state, # (12,) float32: 6 UR joints (rad) and 6 hand actuators (0-1), in the recorded order "prompt": "Stack the blocks from the left and right sides of the table onto the middle block one by one.", }) out["actions"] # (16, 12) absolute joint targets in the recorded order, for 15 Hz ``` `create_trained_policy` reads `assets/blockstack200/norm_stats.json` from the checkpoint folder. The policy uses 10 flow-matching steps (openpi's default). `create_trained_policy` itself was not run on this checkpoint; the training job ran the same data transforms. ## Limitations - **No held-out evaluation and no real-robot results.** Every number here is training loss. - **One task, one camera.** - **Task success of the training episodes was not assessed** by the dataset's authors. - This run starts from pi05 base. There is no pi05 run from a CEI mid-training for this robot.