
LSTR (Lane Shape Transformer)
Detection and tracking382 ops765.8K params
An end-to-end lane detector that predicts lane shape parameters with a CNN backbone and a transformer.
Detection and tracking · 277 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.
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.
How this diagram was made
menagerie.classics.lstr_lane:build_lstr: build({}) This model is the PytorchAutoDrive implementation of LSTR, which that framework offers with ResNet 18, 34, 50 and 101 backbones and a reduced ResNet18.
About this model's family
LSTR is an end-to-end lane detector: a network built with a transformer directly outputs the parameters of a lane shape model. The paper contrasts this with the popular pipeline that solves lane detection in two steps, feature extraction plus post-processing. The shape model is formulated from road structures and camera pose, which gives the output parameters a physical interpretation.
In the paper the backbone is a reduced ResNet18 whose block output channels are cut to 16, 32, 64 and 128. Its low-resolution feature is flattened into a sequence by collapsing the spatial dimensions. The encoder has two standard layers, and the decoder also has two. A linear layer with softmax labels each of a fixed number of predicted curves as background or lane. One 3-layer perceptron predicts four groups of lane-specific parameters, and another predicts four parameters shared by all lanes. Training uses a Hungarian fitting loss, which performs a bipartite matching between predicted parameters and ground truth lanes.
On the TuSimple benchmark, the paper reports that the method outperforms PolyLaneNet by 2.82% accuracy with 5 times fewer parameters and runs 3.6 times faster.
Key idea. LSTR reframes lane detection as directly predicting the parameters of a lane shape model with a transformer-based network.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{liu2020endtoendlaneshapeprediction,
title={End-to-end Lane Shape Prediction with Transformers},
author={Ruijin Liu and Zejian Yuan and Tie Liu and Zhiliang Xiong},
year={2020},
eprint={2011.04233},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2011.04233},
}