[Repo Under Construction]
[July 5, 2024] Initial code release. Code trainable.
-
Release trained models.
-
Complete instructions.
-
Release training data.
-
Release training code.
- Create new conda environment and install pytroch:
conda create -n isaac python=3.8
[install pytorch]
pip install -r requirement.txt
-
Install isaacgym
-
Download SMPL paramters from SMPL and SMPLX. Put them in the
data/smpl
folder, unzip them into 'data/smpl' folder. For SMPL, please download the v1.1.0 version, which contains the neutral humanoid. Rename the filesbasicmodel_neutral_lbs_10_207_0_v1.1.0
,basicmodel_m_lbs_10_207_0_v1.1.0.pkl
,basicmodel_f_lbs_10_207_0_v1.1.0.pkl
toSMPL_NEUTRAL.pkl
,SMPL_MALE.pkl
andSMPL_FEMALE.pkl
. For SMPLX, please download the v1.1 version. Rename The file structure should look like this:
|-- data
|-- smpl
|-- SMPL_FEMALE.pkl
|-- SMPL_NEUTRAL.pkl
|-- SMPL_MALE.pkl
|-- SMPLX_FEMALE.pkl
|-- SMPLX_NEUTRAL.pkl
|-- SMPLX_MALE.pkl
- Download data and pretrained models with
bash download_data.sh
For each sport, we provide bash scripts to train baselines models (PPO/AMP/PULSE/PULSE+AMP). All scripts are in the scripts
folder. Please check the contents of the script and pick one command (sometimes out of four) for training.
To evaluate, append no_virtual_display=True epoch=-1 test=True env.num_envs=1 headless=False
to the end of the command.
The soccer goalpost asset comes from: https://sketchfab.com/3d-models/football-goal-post-364cf6da76854862bfb77e650a80bd29 The tennis net asset comes from: https://sketchfab.com/3d-models/tennis-court-02fae7583fb447a484ee5b7c76bef0e6 The basketball hoop comes from: https://sketchfab.com/3d-models/canasta-baloncesto-basketball-hoop-bbef0dc4137b406f91709a692b338a3b