This repository provides tools to retarget motion data from the AMASS dataset to G1 humanoid motions.
-
Create a data directory:
mkdir -p dataset
-
Download the AMASS dataset:
- Place the unzipped folders inside
dataset/amass/
.
- Place the unzipped folders inside
-
Run the following script to prepare the data:
./download_data.sh
-
Process raw AMASS sequences
Collect selected motion sequences from AMASS and save as a single file:python process_amass_raw.py
-
Split dataset for training/validation/testing
Convert the collected database into train/val/test sets:python process_amass_db.py
-
Convert to poselib skeleton format
Transform training motion data into poselib joint format:python convert_amass_isaac.py
-
Retarget to G1 humanoid skeleton
Perform motion retargeting from SMPL-H to G1 humanoid using poselib:python retarget_g1_smpl_all.py