WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Official implementation of the paper "FastHMR: Accelerating Human Mesh Recovery via Token and Layer Merging with Diffusion Decoding". (WACV 2026)

Notifications You must be signed in to change notification settings

TaatiTeam/FastHMR

Repository files navigation

FastHMR: Accelerating Human Mesh Recovery via Token and Layer Merging with Diffusion Decoding

This is the official PyTorch implementation of the paper "FastHMR: Accelerating Human Mesh Recovery via Token and Layer Merging with Diffusion Decoding" (WACV 2026)


Paper PDF Project Page

🎉 News

  • Dec 21, 2025: 🔥Release code of demo and model checkpoints.
  • Nov 9, 2025: Our work has been accepted to WACV 2026!
  • Oct 13, 2025: We propose FastHMR, accelerating human mesh recovery up to 2.3x while slightly improving performance over the baseline.

⚡Demo

  1. Install the project dependencies:
pip install -r requirements.txt
pip install --upgrade pip setuptools wheel  # Necessary to avoid build issues with PyTorch3D
pip install --no-build-isolation "git+https://github.com/facebookresearch/pytorch3d.git@stable"
  1. Download the pretrained weights using huggingface_hub:
pip install huggingface_hub
hf download SoroushMehraban/FastHMR --local-dir ./checkpoints

You also need to register at https://camerahmr.is.tue.mpg.de/ and download the dependencies that both CameraHMR and HMR2.0 require:

bash ./download_cam_model.sh
  1. Run the demo on a video:
python demo.py --video path_to_your_video.mp4 --output_pth output_directory --backbone-name camerahmr --visualize

In output_directory, you should see:

  • mesh_results_<video_name>.pkl: The pickle file containing the reconstructed meshes (vertices and joints) for each detected person in the video.
  • tracking_results_<video_name>.pkl: The joblib file containing the tracking results and HMR features for each detected person in the video (Before passing to the diffusion decoder).
  • <video_name>_unified.mp4: The output video visualizing all detected people and their reconstructed meshes (if --visualize flag is set).

About

Official implementation of the paper "FastHMR: Accelerating Human Mesh Recovery via Token and Layer Merging with Diffusion Decoding". (WACV 2026)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published