Views
No views yet

git clone https://github.com/yufu-wang/phmr_dev--pt_version=2.4) or torch==2.6.0+cu126 (pass --pt_version=2.6). (Optional) If you want to run the world-coordinate multi-human video pipeline, you will need additional thirdparty packages.1Usage: scripts/install.sh --pt_version <version> [--world-video=<true|false>]
2
3Options:
4 --pt_version <version> PyTorch version to install (2.4 or 2.6)
5 --world-video <true|false> Download required wheels for world-coordinate multi-human video (default: false)
6 --help Show this help message
7
8Examples:
9 scripts/install.sh --pt_version=2.4
10 scripts/install.sh --pt_version=2.6
11 scripts/install.sh --pt_version=2.4 --world-video=true
12 scripts/install.sh --pt_version=2.6 --world-video=falsedata/ directory. The first command will prompt you to register and log in to access each version of SMPL.1# SMPLX family models
2bash scripts/fetch_smplx.sh
3
4# Checkpoints and annotations
5bash scripts/fetch_data.sh1# 1. Single view reconstruction
2python scripts/demo_phmr.py --image data/examples/example_1.jpg --gravity_align--viser_total to limit the number of frames visualized, or --viser_subsample to subsample frames.
For other hyperparameters, refer to pipeline/config.yaml.1# 2. Video world-coordinate reconstruction
2# Example 1: simple example
3python scripts/demo_video.py --input_video data/examples/boxing.mp4
4
5# Example 2: with static camera
6python scripts/demo_video.py --input_video data/examples/dance_1.mp4 --static_camera --viser_subsample 4
7
8# Example 3: moving camera
9 python scripts/demo_video.py --input_video data/examples/dance_2.mp4 --viser_subsample 3
10results.pkl file and modify the demo to load and visualize the results locally.data_config.py, and then run the following command for pose and shape evaluation.1# Available datasets: EMDB, 3DPW_TEST, HI4D_TEST, RICH_TEST
2python scripts/eval_phmr.py --dataset EMDB1@article{wang2025prompthmr,
2 title={PromptHMR: Promptable Human Mesh Recovery},
3 author={Wang, Yufu and Sun, Yu and Patel, Priyanka and Daniilidis, Kostas and Black, Michael J and Kocabas, Muhammed},
4 journal={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
5 year={2025}
6}