All models

psmnet_basic

Stereo depth network that pools image context into a 4D cost volume and smooths it with a basic 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
m12082
Graph hash
21240f2cdfc0a30cf0816c8d0fadb274a7bba141760285856e78a0f82b038f21
Skeleton hash
fde6e8c5cfb22635e29f33e15bd3f7d71f0ccd10f53b00804afb2849745e2c23
Architecture hash
fe4598b3446e6fd8458c9b5ee61059fb995a371cea425d3fb555010674ac0507
Diagram SHA-256
0199228014b16eb1e5cb1c6d43ceac82922da1a5500a491d089646964970f634
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

How this diagram was made

menagerie.classics.psmnet_stereo:build_psmnet_basic: build({})

What it is

PSMNet, the Pyramid Stereo Matching Network, takes a rectified pair of left and right images and predicts a disparity map, the horizontal shift of each pixel between the two views that gives you depth. It was built to fix a specific weakness of the patch-matching networks that came before it: they had no way to use context when a region is ambiguous. Those hard regions are the familiar ones, occlusions, repeated patterns, textureless surfaces and reflections.

The network has two main modules, spatial pyramid pooling and a 3D CNN. Each image goes through a weight-sharing CNN and a pyramid pooling module, and the left and right features are then stacked across every disparity level into a four-dimensional cost volume. The pooling module uses four fixed average-pooling sizes, 64, 32, 16 and 8, so features carry context at several scales. The feature extractor also swaps the usual large first filter for three cascaded 3 by 3 convolutions and applies dilated convolution in its later residual stages to widen the receptive field.

The graph here is the paper's basic 3D CNN, not the stacked hourglass: a cost-volume regularizer built simply from residual blocks with twelve 3 by 3 by 3 convolutional layers. The cost volume is then upsampled back to full size and a soft disparity regression, a probability-weighted sum over disparity values, produces the continuous map. The authors used this basic variant in their ablations precisely because it adds no extra context through encoding and decoding, and they report the stacked hourglass version beat it by a clear margin. The full PSMNet ranked first on the KITTI 2012 and 2015 leaderboards before March 18, 2018.

Key idea. End-to-end stereo matching that folds whole-image context into the cost volume through spatial pyramid pooling and then regularizes that volume with a 3D CNN, with no post-processing.

  • PSMNet
  • Pyramid Stereo Matching Network
  • PSMNet basic
  • stereo matching
  • disparity
  • depth from stereo
  • cost volume
  • 3D CNN
  • KITTI
  • Scene Flow

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}, 
}