You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install rsl_rl (PPO implementation) and legged gym and other requirements:
cd rsl_rl && pip install -e .&&cd ..
cd legged_gym && pip install -e .&&cd ..
pip install -r requirements.txt
▶️ Usage
Training:
cd legged_gym/legged_gym/scripts/
python train.py --exptid=xxx
Evaluation:
cd legged_gym/legged_gym/scripts/
python play.py --exptid=xxx
Note: Switch to the escape branch to train and evaluate the escape task.
Note: For a quick try, two reference checkpoints are available in legged_gym/resources/weight/.
Copy one to your experiment log directory (e.g., logs/<EXPT_ID>/) to directly evaluate the policy.
🧰 Troubleshooting
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
# Replace /path_to_conda_env_gk with your actual conda env path
sudo cp /path_to_conda_env_gk/lib/libpython3.8.so.1.0 /usr/lib/
CUDA out of memory
GPU limitation, try less environments.
📈 Training Cost (for reference)
GPU: on RTX 4090 (24G)
Goalkeeper task: typically ~ 20k episodes to converge
Escape task: ~ 40k episodes for stable jump-escape motion
✉️ Contact
For any questions, please email junlir@connect.hku.hk. We will respond as soon as possible.
📝 Citation
If you find our work useful, please consider citing:
@article{ren2025humanoidgoalkeeper,
title={Humanoid Goalkeeper: Learning from Position Conditioned Task-Motion Constraints},
author={Ren, Junli, Long, Jungfeng, Huang, Tao and Wang, Huayi, Wang, Zirui and Jia, Feiyu, Zhang, Wentao and Wang, Jingbo, Ping Luo and Pang, Jiangmiao},
year={2025}
}