All models

PoseFormer

A convolution-free transformer that lifts a sequence of 2D poses to the 3D pose of the center frame.

Pose · 233 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 (26 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
9.6M
Operations
233
Framework
PyTorch
Recurrent
No
Published
ICCV 2021
Cited by
717 (as of 27 October 2026)
Authors
Ce Zheng, Sijie Zhu, Matias Mendieta and others
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
m19446
Graph hash
692dd210791db1332719600d6c2e3ab0d244515ab37e5292fc6c7c42511f0695
Skeleton hash
59ac5758e5a267dad45e6108a490a39c4aad9845c7e48a4c45daf5d7952c6cdc
Architecture hash
680f052540d7969b5279fcf80b7a0649e066304e2d988579b61d7149b95deae9
Diagram SHA-256
18ccce7b4d8be020fb5c9376d52eba9e2dfb36b60e90eb756877d06edffc6944
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

PoseFormer estimates 3D human pose in video with a purely transformer-based network, with no convolutional architectures involved. It works by lifting: it takes a sequence of 2D poses detected by an off-the-shelf 2D pose estimator and outputs the 3D pose for the center frame.

The model consists of a spatial transformer module, a temporal transformer module and a regression head. The spatial module treats each joint of a 2D pose, meaning its two coordinates, as a patch and applies self-attention across the joints of one frame. The temporal module then models dependencies across the sequence of frames, using the same encoder architecture as the spatial module. The regression head reduces the frame dimension with a weighted mean whose weights are learned and returns the 3D pose of the center frame. Using a separate module for each dimension lets PoseFormer model both without very large token counts for long input sequences.

The repository reports 47.0 mm for a 27-frame model and 44.3 mm for the 81-frame model with detected 2D poses as input. With ground-truth 2D poses as input, the 81-frame model reaches an MPJPE of 31.3 mm.

Key idea. PoseFormer showed that a purely transformer-based network, with a spatial module over joints and a temporal module over frames, can lift 2D pose sequences to 3D pose.

  • PoseFormer
  • 3D human pose estimation
  • 2D-to-3D lifting
  • spatial temporal transformer
  • video pose estimation
  • Human3.6M
  • MPJPE

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

Cite the paper

@misc{zheng20213dhumanposeestimation,
      title={3D Human Pose Estimation with Spatial and Temporal Transformers}, 
      author={Ce Zheng and Sijie Zhu and Matias Mendieta and Taojiannan Yang and Chen Chen and Zhengming Ding},
      year={2021},
      eprint={2103.10455},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2103.10455}, 
}