raft_stereo_realtime
The real-time configuration of RAFT-Stereo: one shared backbone and slow-fast GRUs at two resolutions.
Depth estimation · 164 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
- 88K
- Operations
- 164
- Framework
- PyTorch
- Recurrent
- No
- Published
- International Conference on 3D Vision (3DV) (arXiv 2021)
- Cited by
- 533 (as of 9 October 2026)
- Authors
- Lahav Lipson, Zachary Teed, Jia Hao Deng
- 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
- m12092
- Graph hash
- 973c4ab6c719521be02795707efebc37bebd882f3f7a159d0f6ddb2a055f8ebc
- Skeleton hash
- 352a4d67b6e9cd505f244cc3201bceee910c496737eba6de0135f0e956aa3200
- Architecture hash
- 3e8a0df41f24d6bd35db050e7fcd736169c2fc0837a2deca82ff09f6cdd97a25
- Diagram SHA-256
- 294fa97b87010814ce854e61ce5a84032946a34bff0bc36d9936a5e67bfb9527
- 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.raft_stereo:build_raft_stereo_realtime: build({}) What it is
This is the real-time configuration of RAFT-Stereo, a network that predicts disparity, the horizontal displacement of each pixel, from a rectified pair of stereo images. RAFT-Stereo follows the optical flow network RAFT, with a feature extractor, a correlation pyramid and a GRU-based update operator that refines the disparity estimate iteratively.
Relative to the base model, the real-time version uses a shared backbone, two hidden-state resolutions (1/8 and 1/16) and slow-fast GRUs. Slow-fast means the lower-resolution hidden state is updated several times for each update of the 1/8-resolution one, because, by the paper's estimate, a GRU update at 1/8 resolution takes approximately 4x as many FLOPs as one at 1/16. The single backbone produces both the correlation features and the context features, which the base model extracts with separate backbones.
The paper reports that this configuration runs at 26 FPS on KITTI-resolution (1248x384) images. In the paper's zero-shot comparison on KITTI-2015, its D1 error of 5.91 is set against 6.5 for DSMNet.
Key idea. A modified RAFT-Stereo with a single backbone and slow-fast GRUs at two resolutions reaches real-time stereo inference, 26 FPS on KITTI-resolution images in the paper.
- raft-stereo realtime
- raft stereo real-time
- real-time stereo matching
- stereo matching
- stereo depth estimation
- disparity estimation
- slow-fast gru
- correlation pyramid
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lipson2021raftstereomultilevelrecurrentfield,
title={RAFT-Stereo: Multilevel Recurrent Field Transforms for Stereo Matching},
author={Lahav Lipson and Zachary Teed and Jia Deng},
year={2021},
eprint={2109.07547},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2109.07547},
}