All models

sttr_light

The lightweight STTR stereo depth network, with a fixed attention stride for faster, lower-memory inference.

Depth estimation · 215 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 (14 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
15.4K
Operations
215
Framework
PyTorch
Recurrent
No
Published
ICCV (arXiv 2020)
Cited by
317 (as of 9 October 2026)
Authors
Zhaoshuo Li, Xingtong Liu, Nathan Drenkow 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
m12159
Graph hash
1e4cd4004e86f93b9869af34f44ae492850461c77b0188784ce72f4b33772d66
Skeleton hash
4eaebd353f2f6c4998e3f63cb8123acf8458395a151ca8c577fad48d6c8cf125
Architecture hash
74a4dc1bf28b0c482ba72e396b98fa95341a050819e7bd3ef885e6330af66094
Diagram SHA-256
f9a12fadbb5b9c16e44a91486a906a9928519c2a9550e21df2420922c1f8775f
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.sttr_stereo:build_sttr_light: build({})

What it is

This model is the lightweight implementation of STTR, introduced for faster speed and lower memory consumption. STTR (STereo TRansformer) estimates stereo depth from a sequence-to-sequence correspondence perspective, replacing cost volume construction with dense pixel matching that uses position information and attention.

The lightweight model removes the option to change the attention stride s during inference and fixes it at 4, so the extracted features no longer need to be kept at the full image resolution. It also increases the channel dimension of each attention head by two and decreases the number of heads by two, which the paper says keeps the same number of parameters while halving memory consumption.

On the Scene Flow benchmark the paper reports that the performance of lightweight STTR drops compared with STTR, especially in 3 px Error and EPE, while inference uses less memory and runs faster. The table for that benchmark lists inference at 2.6 GB and 5.50 Hz for lightweight STTR, against 7.4 GB and 1.35 Hz for STTR with s = 3. In the cross-domain tests its occlusion IOU is consistently worse than that of STTR.

Key idea. The paper adds a lightweight implementation of STTR that removes the adjustable attention stride for faster speed and lower memory consumption.

  • STTR-light
  • sttr_light
  • lightweight STTR
  • lightweight stereo transformer
  • stereo depth estimation
  • disparity estimation
  • stereo matching
  • fixed attention stride

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

Cite the paper

@misc{li2021revisitingstereodepthestimation,
      title={Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformers}, 
      author={Zhaoshuo Li and Xingtong Liu and Nathan Drenkow and Andy Ding and Francis X. Creighton and Russell H. Taylor and Mathias Unberath},
      year={2021},
      eprint={2011.02910},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2011.02910}, 
}