4DHumans-HMR2-ViT-H
HMR 2.0, a fully transformer-based network that regresses SMPL body pose and shape from a single image.
Pose · 1,225 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Pose
- Parameters
- 670.5M
- Operations
- 1,225
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICCV 2023
- Cited by
- 273 (as of 17 October 2026)
- Authors
- Shubham Goel, Georgios Pavlakos, Jathushan Rajasegaran and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3
- Graph hash
- 7361b76894610054289c2204bb4b0e6cf9131641662c198ffcdeae592bedbe62
- Skeleton hash
- cb597c76f82d296119dddd5864dad096ca336c06b6549560a1c4d5857a0a0bb3
- Architecture hash
- 5d07ba3ddac062e8b9ac546d861fbc280289d53e4277a22d3f430d749d6e2a6e
- Diagram SHA-256
- c34557cf165e15a53382074e10af7b19e33260eff10ac6a85430b214671ae2fc
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
HMR 2.0 is a fully transformer-based network for recovering a 3D human mesh from a single image, meaning it predicts the pose and shape of a person's body from one photograph. It is also the backbone of 4DHumans, a system that tracks the reconstructed people over time in video. Its claim to attention is accuracy on unusual poses that earlier single-image methods struggled with.
The authors re-imagine HMR as an end-to-end transformer. It uses no domain-specific design choices. The architecture pairs a ViT image encoder with a transformer decoder. That decoder cross-attends to the image tokens to output the SMPL parameters. The backbone is a ViT-H/16, the huge variant, with 50 transformer layers. It takes a 256 by 192 crop and outputs 16 by 12 image tokens of dimension 1280. The decoder is a standard six-layer transformer decoder. It works on a single learnable SMPL query token that cross-attends to the image tokens. A linear readout of the output token then gives pose, shape and camera. SMPL itself is a low-dimensional parametric model of the human body. Given pose and shape parameters, it outputs a mesh with 6890 vertices.
Training follows HMR practice with a combination of 2D losses, 3D losses and a discriminator. The data is scaled up with pseudo-ground-truth fits computed for unlabelled datasets such as InstaVariety, AVA and AI Challenger. By default the released code uses the checkpoint the paper calls HMR 2.0b. That model trains for longer on more data and does better on unusual poses, at a small cost on 3DPW. On LSP-Extended, which contains unusual poses, HMR 2.0b reaches PCK@0.05 of 0.53 against 0.32 for the second best, CLIFF. Pretraining matters too: the chosen model is first pretrained with MAE on ImageNet and then on 2D keypoint prediction. Running it needs the SMPL neutral body model, which must be obtained by registering on its own website. Training the released model took 8 A100 GPUs for 7 days.
Key idea. An end-to-end transformerized architecture for human mesh recovery that, without relying on domain-specific designs, outperforms existing approaches for 3D body pose reconstruction.
- HMR 2.0
- HMR2
- HMR2.0
- 4DHumans
- 4D-Humans
- Humans in 4D
- human mesh recovery
- SMPL
- 3D human pose
- body shape
- ViT-H
- transformerized HMR
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{goel2023humans4dreconstructingtracking,
title={Humans in 4D: Reconstructing and Tracking Humans with Transformers},
author={Shubham Goel and Georgios Pavlakos and Jathushan Rajasegaran and Angjoo Kanazawa and Jitendra Malik},
year={2023},
eprint={2305.20091},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2305.20091},
}