File size: 6,106 Bytes
f690cde
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
license: cc-by-nc-4.0
library_name: imitationlab
pipeline_tag: robotics
tags:
- robotics
- humanoid
- unitree-g1
- motion-tracking
- whole-body-control
- reinforcement-learning
---

# ImitationLab G1 motion trackers

Whole-body motion-tracking policies for the Unitree G1, trained with
[ImitationLab](https://github.com/GTLIDAR/ImitationLab) on the BONES-SEED
motion bank. Twelve policies: four learners (SuperMimic, SVG, DiffSR, PPO),
each with three reference interfaces (explicit, FSQ, spectral). Each was
trained from scratch for 30 minutes on one NVIDIA H200, seed 42, on task
`imitation-g1-v1`.

These are research checkpoints trained and evaluated in simulation
(Newton/MJWarp). They have not been validated on hardware.

## Results

Final checkpoint of each run, evaluated on all 129,785 BONES-SEED clips
(deterministic actions, frame-zero starts, no randomization, first 10 seconds
of each clip) and on the fixed 256-clip board used during training.

| Bundle | Learner | Interface | Full-bank success | Full-bank MPJPE-L mm | Full-bank MPJPE-G mm | Board success | Board MPJPE-L mm | Frames |
| --- | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| [`supermimic-explicit`](supermimic-explicit/final) | SuperMimic (BPTT) | explicit | 99.92% | 14.3 | 67 | 100.0% | 14.6 | 194M |
| [`supermimic-fsq`](supermimic-fsq/final) | SuperMimic (BPTT) | fsq | 99.76% | 17.4 | 74 | 99.2% | 18.0 | 175M |
| [`supermimic-spectral`](supermimic-spectral/final) | SuperMimic (BPTT) | spectral | 99.77% | 16.7 | 72 | 99.6% | 17.2 | 144M |
| [`svg-explicit`](svg-explicit/final) | SVG | explicit | 99.75% | 15.2 | 73 | 99.2% | 15.7 | 68M |
| [`svg-fsq`](svg-fsq/final) | SVG | fsq | 99.15% | 20.4 | 93 | 98.8% | 21.1 | 51M |
| [`svg-spectral`](svg-spectral/final) | SVG | spectral | 99.27% | 18.9 | 84 | 98.8% | 19.9 | 63M |
| [`diffsr-explicit`](diffsr-explicit/final) | DiffSR dynamics | explicit | 99.64% | 17.8 | 93 | 99.2% | 19.7 | 57M |
| [`diffsr-fsq`](diffsr-fsq/final) | DiffSR dynamics | fsq | 99.20% | 23.2 | 109 | 99.6% | 24.3 | 62M |
| [`diffsr-spectral`](diffsr-spectral/final) | DiffSR dynamics | spectral | 99.02% | 22.8 | 105 | 98.8% | 23.0 | 62M |
| [`ppo-explicit`](ppo-explicit/final) | PPO | explicit | 95.28% | 52.8 | 502 | 95.3% | 53.8 | 351M |
| [`ppo-fsq`](ppo-fsq/final) | PPO | fsq | 93.70% | 63.9 | 656 | 93.0% | 65.3 | 273M |
| [`ppo-spectral`](ppo-spectral/final) | PPO | spectral | 93.68% | 67.3 | 653 | 94.5% | 69.4 | 228M |

Success means no root-height or tilt failure through the evaluated prefix.
MPJPE-L is local joint position error with the root aligned; MPJPE-G is global.
These are single-seed results on training motions: they measure how well each
policy tracks the motions it was trained on, not held-out generalization.
[`results.json`](results.json) has every checkpoint's numbers, and the
[four-tier release check](https://github.com/GTLIDAR/ImitationLab/blob/main/docs/benchmarks/g1-release-check.md)
has the protocol and the same cases on three other GPUs.

## What is in the repository

```
<learner>-<interface>/
  final/                 30-minute checkpoint
    model.pt             training checkpoint with its recorded settings
    encoder.pt           frozen skill encoder (FSQ and spectral only)
    run.json             task, learner, interface, seed, resolved settings
    checksums.json       SHA-256 of the files above
  milestones/<NN>min/    earlier checkpoints of the same run, same layout
encoders/bones_seed-{fsq,spectral}/   the two encoders on their own
results.json             board and full-bank metrics for every checkpoint
```

Every folder with a `model.pt` is a bundle in the format `imitationlab export`
writes, so it loads without the training machine's paths. `final/model.pt`
holds the full learner state; milestone checkpoints of the world-model learners
hold the policy only.

## Use

Install ImitationLab and prepare the BONES-SEED bank as its
[setup](https://github.com/GTLIDAR/ImitationLab/blob/main/docs/setup.md) and
[data](https://github.com/GTLIDAR/ImitationLab/blob/main/data/README.md) guides
describe. Then download a bundle and evaluate it:

```bash
hf download GeorgiaTech/ImitationLab-G1 --include "supermimic-spectral/final/*" --local-dir g1-trackers
pixi run -e isaaclab imitationlab evaluate \
  --checkpoint g1-trackers/supermimic-spectral/final --data "$BANK" \
  --num-envs 4 --steps 500 --seed 42 --trajectory_ranks 0 1 2 3 \
  --output outputs/evaluation/supermimic-spectral.json
```

`--trajectory_ranks` selects the clips; the environment count must be a multiple
of the number of ranks. The bundles keep the settings of the H200 they were
trained on, which hold the reference library on the GPU: with the full
BONES-SEED bank that is about 12.6 GiB, more than a 16 GB card has free.
Evaluating against a smaller bank works on a 16 GB GPU.

The FSQ and spectral policies need the code revision that introduced the
`reference_heading` encoder window (GTLIDAR/ImitationLab `main` at `78a0758`
or later). The explicit policies were trained at the first public release
(`c1fcd6d`) and also load at the later revision.

## Inputs a policy needs

All twelve policies take a ten-step history of proprioception and a ten-frame
window of the reference motion.

- **Explicit:** the reference window is given directly, expressed in the yaw
  frame and position of the reference frame the robot is on.
- **FSQ and spectral:** a frozen encoder turns the same root-and-joint window
  into 64 values plus two phase values. These encoders use the
  `reference_heading` window: nothing in it is read from the robot.

In both cases a deployed policy needs an IMU but no position estimate
(no odometry).

## Training data and license

The weights are released under
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).

Training data includes Motion Data by [Bones Studio](https://bones.studio/).
Use of the underlying dataset is subject to the BONES Motion Capture Dataset
License Agreement.

No motion data is included in this repository.

The ImitationLab code is licensed separately; see its repository.