All models

psmnet

PSMNet estimates a disparity map from a stereo image pair using spatial pyramid pooling and a 3D CNN.

Depth estimation · 128 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 (124 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

Parameters
410.3K
Operations
128
Framework
PyTorch
Recurrent
Yes
Published
CVPR (arXiv 2018)
Cited by
66 (as of 5 October 2026)
Authors
Jia-Ren Chang, Yong‐Sheng Chen
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
m12081
Graph hash
21240f2cdfc0a30cf0816c8d0fadb274a7bba141760285856e78a0f82b038f21
Skeleton hash
fde6e8c5cfb22635e29f33e15bd3f7d71f0ccd10f53b00804afb2849745e2c23
Architecture hash
fe4598b3446e6fd8458c9b5ee61059fb995a371cea425d3fb555010674ac0507
Diagram SHA-256
0199228014b16eb1e5cb1c6d43ceac82922da1a5500a491d089646964970f634
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.psmnet_stereo:build_psmnet_basic: build({})

What it is

PSMNet is a pyramid stereo matching network built from two main modules: spatial pyramid pooling and a 3D CNN. Given a pair of rectified stereo images, it computes the disparity for each pixel in the reference image. Disparity is the horizontal displacement between a pair of corresponding pixels on the left and right images. The paper argues that earlier architectures rely on patch-based Siamese networks and lack the means to exploit context information in ill-posed regions.

The left and right images pass through two weight-sharing pipelines, each with a CNN that computes feature maps and a spatial pyramid pooling (SPP) module. The SPP module uses four fixed-size average pooling blocks: 64 × 64, 32 × 32, 16 × 16, and 8 × 8. Left feature maps are concatenated with their corresponding right feature maps across each disparity level, giving a 4D cost volume. For regularizing that volume, the paper proposes two kinds of 3D CNN: the basic and stacked hourglass architectures. The basic architecture is built using residual blocks and contains twelve 3 × 3 × 3 convolutional layers. The stacked hourglass architecture has three main hourglass networks, each of which generates a disparity map.

The paper evaluates the method on three stereo datasets: Scene Flow, KITTI 2012, and KITTI 2015. On the KITTI 2015 leaderboard, the paper reports an overall three-pixel-error of 2.32% for PSMNet. On the KITTI 2012 leaderboard, the reported overall three-pixel-error is 1.89%.

Key idea. PSMNet pairs a spatial pyramid pooling module that brings global context into the cost volume with a 3D CNN that regularizes the volume for stereo disparity estimation.

  • PSMNet
  • Pyramid Stereo Matching Network
  • stereo matching
  • disparity estimation
  • stereo depth estimation
  • spatial pyramid pooling
  • cost volume
  • 3D CNN
  • stacked hourglass
  • disparity regression

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

Cite the paper

@misc{chang2018pyramidstereomatchingnetwork,
      title={Pyramid Stereo Matching Network}, 
      author={Jia-Ren Chang and Yong-Sheng Chen},
      year={2018},
      eprint={1803.08669},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1803.08669}, 
}