Quickstart#

Explore terrain-optimized G1 motion examples without running the optimization pipeline. Run each command from the repository root.

1. Install#

Install uv, then create the full environment:

uv sync --locked

See Installation for the Python, CUDA and GPU requirements.

2. Replay a motion#

The repository includes three motion excerpts with optimized results for four terrain variants, alongside their flat-ground references. Start with walking on stairs:

uv run python -m perceptive_bfm.scripts.data_process.visualize_motions \
  --input-dir resources/g1/motions/pyramid \
  --group pyramid_stairs_lv0 \
  --motion walk/motion.npz \
  --viz-ee-contact

Open the printed URL in your browser. Use Terrain and Motion to switch references, Play / Pause to control playback, and the frame slider to inspect individual poses. Contact markers shows estimated hand and foot contacts.

See Motion examples for the other clips and Playback for the viewer controls.

Continue from here#

Your next step

Guide

Adapt your own motions to terrain

Data preparation

Use adaptation without the training dependencies

Standalone adaptation

Train on your own prepared motion dataset

Training

Download the ONNX model and inference settings

Pretrained model