|
Download README.md from humanoid-benchmark/ode: direct link, hf CLI and curl.
- Browser
- Download file 12.1 kB
-
https://huggingface.co/humanoid-benchmark/ode/resolve/main/README.md
- Command line
-
hf download hf://humanoid-benchmark/ode/README.md
-
curl -L -o README.md https://huggingface.co/humanoid-benchmark/ode/resolve/main/README.md
12.1 kB
| license: apache-2.0 | |
| tags: | |
| - robotics | |
| - humanoid | |
| - imitation-learning | |
| # ODE Policy — Humanoid Benchmark | |
| ODE policy checkpoints trained on Humanoid Benchmark tasks. The model follows ODE Policy's Unitree G1 port | |
| ([NTUMARS/ODE-POLICY](https://github.com/NTUMARS/ODE-POLICY) branch `real-g1` @fd8bec47, Apache-2.0), with ODE | |
| Policy's own image encoder (main @cea26d94) in place of the port's GR00T backbone. It runs in the benchmark baseline | |
| trainer of Humanoid_benchmark (`evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6`); the weights | |
| use the `hb_baselines/1` format and load with `evaluation/policy/ODEMLP`. | |
| ## Checkpoints | |
| Every row is one training run. The column "Evaluated" names the checkpoint used for benchmark evaluation. | |
| B6 chose the training length for every task (2026-11-26): all other tasks train 5,000 steps from scratch (the long | |
| task C6 10,000), so the cosine schedule ends at the last step, and only that last checkpoint is uploaded and evaluated. | |
| B6 itself is the exception: its 8,000-step run is kept and `step-005000` is its official checkpoint, so that | |
| checkpoint's learning rate had not yet decayed to 0. The exception is registered in HumanWAM | |
| `hb_training/REPRODUCIBILITY.md` section 7, `protocol.yaml` and each B6 `protocol.json` (`exceptions`). | |
| | Folder | Task | Robot | Cameras (model input) | Training data (HF dataset @ commit) | Global batch | Steps | Checkpoints | Evaluated | | |
| |---|---|---|---|---|---|---|---|---| | |
| | `b6-pedal-bin/b512-v6/` | B6 pedal bin — pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in | Unitree G1 (Inspire hands) | ego_view, chest | `b6-pedal-bin` @ad2f5bf0 (v6), all 542 episodes (331,577 frames) | 512 | 8,000 | `step-005000`, `step-006000`, `step-008000` | `step-005000` | | |
| | `a3-fridge-open-v4/b512-trim3f/` | A3 open the fridge door (v4, three-frame pause trim) | Unitree G1 (Inspire hands) | ego_view, chest | `a3-fridge-open-expert-v4` @fe89f5b3, 125 episodes (35,073 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a7-cabinet-close-v4/b512-trim3f/` | A7 close the cabinet door (v4, three-frame pause trim) | Unitree G1 (Inspire hands) | ego_view, chest | `a7-cabinet-close-expert-v4` @d3ec8057, 100 episodes (24,241 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `b1-riceball-microwave/b512-trim3f/` | B1 rice ball into the microwave (v2 30 Hz, three-frame pause trim) | Unitree G1 (Inspire hands) | ego_view, chest | `b1-riceball-microwave-expert-v2-30hz` @276ceb91, 200 episodes (153,128 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a14-unscrew-bulb/b512-trim3f/` | A14 unscrew the bulb (cropped-v5, three-frame pause trim; action 82 with the SONIC planner) | Unitree H2 (Sharpa hands) | head, chest | `a14-screw-bulb` @33beae7c, 100 episodes (137,710 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a17-unscrew-bottle/b512-trim3f/` | A17 unscrew the bottle cap (cropped-v4, three-frame pause trim) | Unitree H2 (Sharpa hands) | head, chest | `a17-unscrew-bottle` @f7105314, 100 episodes (49,788 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a18-pour-water/b512-trim3f/` | A18 pour water (cropped-v4, three-frame pause trim) | Unitree H2 (Sharpa hands) | head, chest | `a18-pour-water` @73fd5225, 100 episodes (48,286 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a9-pedal-open/b512/` | A9 step on the pedal to open the bin | Unitree G1 (Inspire hands) | ego_view, chest | `a9-pedal-open-expert-v1` @8d432063, 100 episodes (22,763 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a10-trolley-push-v3/b512/` | A10 push the trolley (v3) | Unitree G1 (Inspire hands) | ego_view, chest | `a10-trolley-push-expert-v3` @6e410c55, 148 episodes (125,290 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a20-basket-transfer/b512-trimv2-pure/` | A20 basket transfer (v2, shortened wait before the reach) | Unitree G1 (Inspire hands) | ego_view, chest | `a20-basket-transfer-pre-reach-trim-expert-v2` @c4df4d40, 100 episodes (54,433 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a21-floor-basket-transfer/b512/` | A21 basket from the floor to the long table | Unitree G1 (Inspire hands) | ego_view, chest | `a21-floor-transfer-basket-trim-raw-head-expert-v1` @682f2bfc, 100 episodes (86,706 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `a29-drawer-close/b512/` | A29 close the drawer (black marble) | Unitree G1 (Inspire hands) | ego_view, chest | `a29-drawer-close-black-marble-30hz-v1` @d03c19e6, 100 episodes (30,041 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `b4-cushion/b512/` | B4 cushion from the bed to the sofa (v2, repository root) | Unitree G1 (Inspire hands) | ego_view, chest | `b4-cushion` @194e7cde, 302 episodes (259,888 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `b5-chair-push/b512/` | B5 push the chair | Unitree G1 (Inspire hands) | ego_view, chest | `b5-chair-push-expert-v1` @b85b7e9f, 100 episodes (43,075 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `b5-chair-push-standing-start/b512/` | B5 push the chair, standing start (A22) | Unitree G1 (Inspire hands) | ego_view, chest | `A22-chair-push-standing-start-expert-v1-formerly-b5` @913f5a16, 100 episodes (30,908 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| | `b8-table-wipe/b512/` | B8 wipe the table | Unitree G1 (Inspire hands) | ego_view, chest | `b8-table-wipe-expert-v1` @3b2e6180, 100 episodes (61,498 frames) | 512 | 5,000 | `step-005000` | `step-005000` | | |
| ## Recipe (every folder) | |
| - **Variant.** ODE-MLP: the velocity field is a FiLM residual MLP. ODE-DiT exists in the code but is not trained here. | |
| - **Inputs.** | |
| - G1 (`--contract g1_sonic_dfx6`): state 44-D = 29 body joint angles, 6 + 6 measured Inspire hand values and 3 | |
| projected gravity values; the current `ego_view` and `chest` RGB frames. | |
| - H2 (`h2_sharpa`; A14 `h2_sharpa_planner`): state 78-D = `observation.state` 75 and 3 projected gravity values; | |
| the current `head` and `chest` RGB frames. | |
| - Frames resized to 168 x 224. The third-person camera in the datasets is for data review only and is never a model | |
| input. | |
| - **Output.** 16 action rows. | |
| - G1, dimension 76: 64 SONIC motion-token values and 6 measured values for each Inspire hand. The runners execute | |
| 12 rows before the next query. | |
| - H2, dimension 75 = `body_target` 31 + Sharpa hands 44; A14 82 = those + the SONIC planner 7. | |
| - **Model.** | |
| - One ResNet18 per camera, trained from scratch with GroupNorm. | |
| - Condition c = Linear(LayerNorm(image features)) to 512. The state enters the velocity field only. | |
| - The ODE state is the action's first group (G1: the 64 token values; H2: `body_target` 31): b(k+1) = b(k) + f(b(k), state | c), integrated with Euler, one row per | |
| step, from the row before the chunk. | |
| - Field: FiLM residual MLP, 512 wide, 4 layers, output initialized to zero. | |
| - The other columns (G1: the 12 hand values; H2: the hands and the planner): Linear, SiLU, Linear from c to 16 rows, | |
| continuous in normalized units; the G1 runner clips the hands to [0, 1]. | |
| - B6: 26.5 M parameters, of which 22.4 M are the two ResNets. | |
| - **Start row.** Training: the recorded row t-1, a normalized-zero BOS at an episode's first frame. Execution: the | |
| last executed action row (`past_actions[-1]`), the BOS when there is none. | |
| - **Normalization.** q01 / q99 of the training rows to [-1, 1]; the hand values fixed at [0, 1]; clipped to ±5. | |
| Stored in the weights. | |
| - **Loss.** Masked MSE in normalized units (rows past the episode end left out); token and hands weighted 64 : 12. | |
| - **Training.** | |
| - Batch 512 on one GPU, no gradient accumulation. | |
| - B6: 8,000 optimizer steps on one RTX 5090, checkpoints every 1,000; `step-005000` is the official one (see above). | |
| - Every other task (2026-11-27): 5,000 steps from scratch on one A800 80 GB (Alibaba Cloud PAI DLC), six checkpoints | |
| spread evenly (750, 1,750, 2,500, 3,250, 4,250, 5,000); only `step-005000` is uploaded. Code: Humanoid_benchmark | |
| bai @d2096858 (the same ODE code as B6's @b4b94d29). | |
| - AdamW: lr 1e-4 (not scaled with batch), betas 0.95/0.999, weight decay 1e-6. 500-step linear warm-up, then cosine | |
| decay. | |
| - EMA as Diffusion Policy's EMAModel (power 0.75, max 0.9999); the published weights are the EMA weights. | |
| - Encoder under bf16 autocast, the ODE head in FP32. Seed 42 (augmentation seed 42), 32 data workers. | |
| - **Augmentation.** | |
| - Humanoid Benchmark online augmentation spec v2 on both views: 15 photometric, geometric, sensor and lighting | |
| effects, with one of them boosted to 1.5x per sample. | |
| - On the body joints only (G1 29, H2 31): a per-sample joint-angle bias U(±2°) plus N(0, 0.25°) noise. | |
| - The augmentation random stream is seeded: `numpy default_rng([42, torch.initial_seed(), worker id])`. | |
| - **In-training action MSE.** A normalized action MSE every 250 steps on the EMA weights, seed 1234, on 10 training | |
| episodes of the folder's own dataset (`train10`), saved in `training_records/inloop-mse.jsonl` and in each | |
| `protocol.json`. | |
| ## B6 notes | |
| In-training normalized MSE (lower is better): | |
| | Step | 1,000 | 2,000 | 4,000 | 5,000 | 5,250 | 6,000 | 7,000 | 8,000 | | |
| |---|---|---|---|---|---|---|---|---| | |
| | nMSE | 0.222 | 0.160 | 0.126 | 0.123 | **0.1228** (lowest) | 0.126 | 0.131 | 0.1357 | | |
| The rise after step 5,250 comes from the hand dimensions (0.529 to 0.629); the token part keeps falling (0.047 to | |
| 0.043). The offline MSE on training frames falls the whole run (0.00672 at step 8,000). The in-training MSE does not | |
| replace the closed-loop success rate, so all three checkpoints are evaluated. | |
| Closed-loop plain evaluation (2026-11-26; Humanoid_benchmark `debug/newton/b6_policy_eval.py --protocol v5_ready_start` | |
| on the v6 task configuration; 50 unseen layouts, seeds 180000-180049; 60 policy seconds; OVRTX 0.5.1; success = the | |
| barrel inside the bin and released): | |
| | Checkpoint | Plain success | | |
| |---|---| | |
| | `step-005000` | 28/50 | | |
| | `step-006000` | 28/50 | | |
| | `step-008000` | 23/50 | | |
| `step-005000` and `step-006000` tie; `step-005000` has the lower in-training MSE. It is the official checkpoint and | |
| runs the generalization suite (300 rollouts, seeds 190000-190299); its results are added here when they finish. | |
| ## Other tasks | |
| In-training normalized MSE at step 5,000 (train10 of each dataset; values are not comparable across tasks). Closed-loop | |
| results are added when the standard evaluation finishes. | |
| | Folder | nMSE | | |
| |---|---| | |
| | `a3-fridge-open-v4` | 0.311 | | |
| | `a7-cabinet-close-v4` | 0.404 | | |
| | `b1-riceball-microwave` | 0.293 | | |
| | `a14-unscrew-bulb` | 0.043 | | |
| | `a17-unscrew-bottle` | 0.016 | | |
| | `a18-pour-water` | 0.028 | | |
| | `a9-pedal-open` | 0.273 | | |
| | `a10-trolley-push-v3` | 0.042 | | |
| | `a20-basket-transfer` | 0.203 | | |
| | `a21-floor-basket-transfer` | 0.083 | | |
| | `a29-drawer-close` | 0.547 | | |
| | `b4-cushion` | 0.129 | | |
| | `b5-chair-push` | 0.026 | | |
| | `b5-chair-push-standing-start` | 0.038 | | |
| | `b8-table-wipe` | 0.397 | | |
| ## What a checkpoint folder contains | |
| Every `step-XXXXXX/` folder holds: | |
| - `model.pt` and `config.json`. | |
| - `protocol.json`: the data, recipe, layout, in-training MSE curve, reproducibility fields, and each file's size and | |
| SHA-256. | |
| - `SHA256SUMS`. | |
| The last checkpoint of each run also has `training_records/`: | |
| - `run.json`, `train_log.jsonl`, `train.log`, `inloop-mse.jsonl` and `launch.sh` (the exact command). | |
| - `pip freeze` of the training environment. | |
| - `code_<commit>/`: the exact `evaluation/baselines`, augmentation and ODE adapter code the run was trained with. | |
| ## Reproducing | |
| Follow [HumanWAM `hb_training/REPRODUCIBILITY.md`](https://github.com/zuo-kuangji/HumanWAM/blob/main/hb_training/REPRODUCIBILITY.md) | |
| section 4.7 (ODE): the same data commit, seed 42 and layout give the same curves within run-to-run noise; GPU kernels | |
| are not bitwise deterministic. Each `training_records/launch.sh` holds the exact command. | |
| ## Citation | |
| ODE Policy: Jindou Jia et al., [NTUMARS/ODE-POLICY](https://github.com/NTUMARS/ODE-POLICY) (Apache-2.0). | |