All models

SCNN-ResNet18-LaneDet

A lane detection network whose slice-by-slice convolutions pass messages across rows and columns of a feature map.

Segmentation · 189 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 (189 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

Family
SCNN
Parameters
11.8M
Operations
189
Framework
PyTorch
Recurrent
Yes
Published
AAAI 2018
Cited by
1,211 (as of 29 October 2026)
Authors
Xingang Pan, Xiaohang Zhan, Jianping Shi and others
License
BSD-3-Clause
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
m11699
Graph hash
d37545cafadc8406f13cc35454546c6df2383e09c1c5cbf79140a2b30d60552a
Skeleton hash
da18fc457293d1d7012d18f88bfa9120506a703b47a3b1fe17a7df2b4d55f01d
Architecture hash
eb2254b0514c6b3e91743cc1c1ff3caf7d9adbc6f27ca1073fb4590a2bda9336
Diagram SHA-256
db5aef27b01e339a9c665dcfced49efb46272c2ec8c5a6684768e256dceb8029
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

What it is

This model is the SCNN detector from LaneDet, an open source lane detection toolbox based on PyTorch, with a ResNet-18 backbone.

About this model's family

Spatial CNN (SCNN) generalizes traditional deep layer-by-layer convolutions to slice-by-slice convolutions within feature maps, so messages pass between pixels across rows and columns in one layer. The paper aims it at long continuous shapes with strong spatial relationship but few appearance clues, such as traffic lanes, poles, and wall.

In a traditional CNN the output of a convolution layer is fed into the next layer; here a feature tensor is split into slices and the output for one slice is added to the next slice. The convolution kernel weights are shared across all slices, which the paper says makes SCNN a kind of recurrent neural network. In the paper's implementation, SCNNs on four spatial directions (downward, upward, rightward and leftward) are added sequentially right after the top hidden layer.

For lane detection the model outputs probability maps of the lane curves and is trained with pixel level targets, like in semantic segmentation tasks. Four lanes are viewed as different classes. The paper reports that SCNN won the 1st place on the TuSimple Benchmark Lane Detection Challenge, with an accuracy of 96.53%.

Key idea. SCNN generalizes layer-by-layer convolutions to slice-by-slice convolutions within feature maps, passing messages between pixels across rows and columns of a single layer.

  • SCNN
  • Spatial CNN
  • Spatial As Deep
  • lane detection
  • traffic lane detection
  • traffic scene understanding
  • slice-by-slice convolution
  • spatial message passing
  • CULane
  • TuSimple

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

Cite the paper

@misc{pan2026spatialdeepspatialcnn,
      title={Spatial As Deep: Spatial CNN for Traffic Scene Understanding}, 
      author={Xingang Pan and Xiaohang Zhan and Jianping Shi and Ping Luo and Xiaogang Wang and Xiaoou Tang},
      year={2026},
      eprint={1712.06080},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1712.06080}, 
}