PegasusMoDye — Data & Checkpoints
Large-file storage for the PegasusMoDye project: a text-conditioned humanoid locomotion system for the Unitree G1 robot combining MotionCLIP semantic encoding with co-diffusion trajectory planning.
System Overview
Text command ("walk forward")
│
▼
┌─────────────┐
│ MoDyeEnc │ MotionCLIP encoder — maps text / motion clips to a 512-dim latent
└──────┬──────┘
│ cond (512-d)
▼
┌─────────────────────────────────────────┐
│ PDPlanner (DiffuseCLoC / DiffusePRDP) │
│ │
│ Co-diffusion over a 20-step horizon: │
│ • state trajectory (192–500 dims) │
│ • action trajectory (29 joints) │
│ │
│ Transformer backbone with: │
│ • left–right symmetry projection │
│ • rolling FIFO inference buffer │
└──────────────┬──────────────────────────┘
│ joint PD targets (29)
▼
┌─────────────┐
│ Robot │ IsaacLab / Mujoco / Hardware → torques on Unitree G1
└─────────────┘
Repository Layout
checkpoints/
rl_tracker/ ← RLTracker pretrained policy (model_75000.pt, latest.onnx)
modyeenc/ ← MoDyeEnc (MotionCLIP) training checkpoints
assets/
unitree_description/ ← Unitree G1 URDF / MJCF / mesh description
smpl_models/ ← SMPL / SMPL-H / SMPL-X body models
data/
g1_152/ ← G1 motion-capture dataset, standard split
g1_152_rlobsnoise/ ← G1 dataset with RL observation noise
g1_152_obsnoise/ ← G1 dataset with observation noise v1
g1_152_obsnoise2/ ← G1 dataset with observation noise v2
g1_152fk/ ← G1 dataset with forward-kinematics annotations
doc/
hf_model_card.md ← this file
Components
MoDyeEnc (MotionCLIP)
Contrastive encoder that aligns motion sequences and natural-language descriptions
in a shared 512-dim CLIP latent space. At inference, a single text prompt
(e.g. "walk forward", "wave left hand") is encoded and used as conditioning
for the diffusion planner.
PDPlanner — DiffuseCLoC
Co-diffusion policy that jointly denoises a future state trajectory and action trajectory from Gaussian noise. Key design choices:
| Feature | Detail |
|---|---|
| Backbone | Causal transformer, cross-attention over MotionCLIP conditioning |
| Horizon | 20 steps at 32 Hz ≈ 0.625 s |
| Observation variants | G1 (192-d body-kin), G1WQ (250-d + joints), G1Q (70-d joints only), G1RLObs (96-d RL terms) |
| Symmetry | Left–right reflection operator projects obs into symmetric/antisymmetric subspaces |
| Emphasis | Root-feature amplification (×4) focuses diffusion guidance on locomotion-critical dims |
| Inference | Rolling FIFO buffer recycles partially-denoised future frames across control steps |
PDPlanner — DiffusePRDP
DDIM-accelerated variant of DiffuseCLoC for real-time deployment:
- Deterministic ODE steps (η = 0) — supports large timestep jumps
time_limit_msauto-plans the number of DDIM steps to fit a real-time budget (e.g. 18 ms → ~9 steps for 50 Hz control)
RLTracker
IsaacLab-trained RL whole-body controller that tracks joint PD targets from PDPlanner and outputs motor torques. Trained with motion-imitation reward on the Unitree G1 (29 DoF).
Dataset Details
All datasets are stored as Zarr archives containing synchronised motion-capture and FK-annotated robot trajectories. Each sample provides:
| Field | Shape | Description |
|---|---|---|
root_pos |
(H, 3) | Root position in world frame |
root_rot |
(H, 4) | Root quaternion |
body_pos |
(H, 30, 3) | 30-body FK positions |
body_lin_vel |
(H, 30, 3) | Body linear velocities |
body_ang_vel |
(H, 30, 3) | Body angular velocities |
joint_pos |
(H, 29) | Joint angles (rad) |
joint_vel |
(H, 29) | Joint velocities (rad/s) |
action |
(H, 29) | Joint PD targets |
motion_latent |
(H, 512) | Per-frame MotionCLIP latent |
The g1_152fk split adds forward-kinematics annotations computed with a
differentiable PyTorch kinematic chain from the G1 URDF.
Download
pip install huggingface_hub
# Clone the repo root, then:
# Checkpoints + assets only (no large datasets)
python scripts/hf_download.py --filter checkpoints assets
# Specific dataset split
python scripts/hf_download.py --filter data/g1_152fk
Quick Start
# 1. Activate environment
mamba activate pdplanner
# 2. Collect / dye dataset (see doc/dev_record/simple_guide.md)
cd RLTracker
bash scripts/data_collection/collect_dataset.sh --num_envs 16
# 3. Train
cd PDPlanner
python train.py --cfg g1_cond_diffuse.yaml --exp_name my_run
# 4. Evaluate
python cond_eval.py \
--checkpoint outputs/<run>/checkpoints/latest.ckpt \
--config g1_cond_diffuse.yaml \
-o eval_output
- Downloads last month
- 30