All models

P-STMO

Pre-trained many-to-one model that predicts a 3D human pose from a sequence of 2D keypoints.

Pose · 439 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 (19 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
7M
Operations
439
Framework
PyTorch
Recurrent
No
Published
ECCV 2022
Cited by
192 (as of 30 October 2026)
Authors
Wenkang Shan, Zhenhua Liu, Xinfeng Zhang 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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19026
Graph hash
f1039795800c601278751f93d1f88b7831ba13d9f55ba0f6985144b3a8e8565b
Skeleton hash
a0870e6e9bb53dfd6e3b75d4380326ac80bfe9197c8c1f13c4dbd9330232ccc0
Architecture hash
eb73e101a748ac95679f0072db07e488daf2cfb5b53aa475f8b16f3137d167f8
Diagram SHA-256
4e2b24bbc76ad12f6a238baf898264edafebcecd0f4b20ab5f18e18533464fae
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

P-STMO, the Pre-trained Spatial Temporal Many-to-One model, estimates 3D human pose from 2D poses. Many frames go in and one pose comes out: an encoder is followed by a many-to-one frame aggregator that predicts the 3D pose of the current frame.

Training is split into two stages, and Stage I is self-supervised: joints in the 2D input sequence are randomly masked in space and in time, and an auto-encoder learns to recover the original 2D poses. The paper calls this masked pose modeling and states that, to its knowledge, P-STMO is the first approach to bring pre-training to 3D human pose estimation. In Stage II the pre-trained encoder is loaded into the STMO model and fine-tuned on 3D poses.

STMO has three modules in series: a spatial encoding module for the joints within a frame, a temporal encoding module across frames, and the many-to-one frame aggregator. The spatial module is a simple MLP block whose weights are shared across frames. The temporal module is a standard Transformer, and the aggregator uses a Strided Transformer Encoder, which replaces the Transformer's MLP block with strided 1D temporal convolutions. With 2D poses from CPN as input, the paper reports 42.1mm MPJPE on Human3.6M.

Key idea. P-STMO pre-trains a spatial-temporal encoder by recovering randomly masked 2D joints and frames, then fine-tunes it with a many-to-one aggregator to predict a 3D pose.

  • P-STMO
  • Pre-trained Spatial Temporal Many-to-One
  • STMO
  • 3D human pose estimation
  • 2D-to-3D pose estimation
  • masked pose modeling
  • Human3.6M
  • MPI-INF-3DHP

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

Cite the paper

@misc{shan2022pstmopretrainedspatialtemporal,
      title={P-STMO: Pre-Trained Spatial Temporal Many-to-One Model for 3D Human Pose Estimation}, 
      author={Wenkang Shan and Zhenhua Liu and Xinfeng Zhang and Shanshe Wang and Siwei Ma and Wen Gao},
      year={2022},
      eprint={2203.07628},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2203.07628}, 
}