All models

HMR-ResNet50

HMR predicts the pose, shape and camera parameters of a 3D human body mesh from a single RGB image.

Pose · 70 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (76 KB)

Open in a new tab

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
81.2M
Operations
70
Framework
PyTorch
Recurrent
Yes
Published
2018
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11650
Graph hash
aa88427a125c57616cfc23c5b1ae38552ab7d63f567678defdb7f37d71f0dc6b
Skeleton hash
95a31e3d88eebff5257dabdf615f68121a21ff41f838bb8f9fd945c9c0432d32
Architecture hash
340b8bbd955aee1fe2a2efb92f48096d30a3371c7444eda4599a3d8cd4b3058a
Diagram SHA-256
c650fd3ee7145bb60a5177335109a23fd4c0270b0fcfe793f03de337fc8146db
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.hmr_spin:build_hmr_resnet50: build({})

What it is

HMR, short for Human Mesh Recovery, reconstructs a full 3D mesh of a human body from a single RGB image. The paper contrasts this with most methods of its time, which computed 2D or 3D joint locations, and instead produces a mesh parameterized by shape and 3D joint angles. It does not rely on intermediate 2D keypoint detections and infers the 3D pose and shape parameters directly from image pixels.

In the paper, a ResNet-50 network encodes the image. A regression module then works iteratively: it takes the image features and the current parameters as input and outputs a residual that updates them. The result is an 85 dimensional vector, the set of parameters that represent the 3D reconstruction of the body. SMPL, the body model the paper uses, is a differentiable function that outputs a triangulated mesh with 6980 vertices.

Training minimizes the reprojection loss of keypoints, so images with only ground truth 2D annotations can be used. Because that loss alone leaves the model under constrained, the paper adds an adversary trained to tell whether a human body parameter is real or not, using a large database of 3D human meshes.

Key idea. HMR infers the 3D pose and shape parameters of a human body mesh directly from image pixels, without relying on intermediate 2D keypoint detections.

  • HMR
  • human mesh recovery
  • HMR-ResNet50
  • end-to-end recovery of human shape and pose
  • 3D human mesh
  • 3D human pose
  • human shape estimation
  • SMPL parameters
  • single image 3D human reconstruction

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.