psmnet_stackhourglass
A stereo matching network pairing spatial pyramid pooling with a stacked hourglass 3D CNN over a cost volume.
Depth estimation · 175 operations Checked
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
- Depth estimation
- Parameters
- 3.2M
- Operations
- 175
- 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m12083
- Graph hash
- d49b1ea606b77a98600167b5eb44b30dfcb0e5288100c13bce5f534941020e6e
- Skeleton hash
- 636f76ef518d2614011dc30f53243e6340cd92cd778f275185ea4358c6b2363a
- Architecture hash
- ed2cbab1a50643873b13f0a49d33f86d0f13ace19d6cc9ddd8ed2563627b220a
- Diagram SHA-256
- 19d3eca65c48f0472d70d0dcb3bc5d6145cabb6d9637d3a703bac1a5359acfdb
- 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_stackhourglass: build({}) What it is
PSMNet, the pyramid stereo matching network, estimates depth from a rectified pair of stereo images by computing a disparity for each pixel of the reference image. Disparity is the horizontal displacement between corresponding pixels in the left and right images. The paper's starting point is that correspondences are hard to find in ill-posed regions such as occlusions, repeated patterns, textureless areas and reflective surfaces, and that global context is needed there.
The network has two main modules: spatial pyramid pooling and a 3D CNN. The pooling module gathers context at several scales, and the left and right feature maps are then concatenated across each disparity level into a 4D cost volume. The 3D CNN regularizes that volume, and this model uses the stacked hourglass form: three hourglass (encoder-decoder) networks, each of which produces its own disparity map. All three outputs carry a loss during training, and at test time the last one is the final disparity map.
The disparity itself comes from regression: a softmax turns the predicted costs into a probability for each disparity, and the output is the probability-weighted sum. The paper reports that the method ranked first on the KITTI 2012 and 2015 leaderboards before March 18, 2018, with an overall three-pixel error of 2.32% on KITTI 2015.
Key idea. PSMNet combines a spatial pyramid pooling module, which brings global context into the cost volume, with a stacked hourglass 3D CNN that regularizes it.
- psmnet
- pyramid stereo matching network
- psmnet stacked hourglass
- stereo matching
- stereo depth estimation
- disparity estimation
- cost volume
- spatial pyramid pooling
- 3d cnn
- stacked hourglass
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},
}