← 开源
liuruijin17

LSTR

This is an official repository of End-to-end Lane Shape Prediction with Transformers.

ModelsVision modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
663
Star
132
Fork
+1
本周
1
贡献者
创建于 2020-11-09 · 更新于 2026-10-13 · 今日第 15317 名
主要开发者
liuruijin17

liuruijin17/LSTR 排名第 15,317,有 663 个星标。

同类别比较

liuruijin17/LSTR 排名第 15,317,此处有 8 个同类条目;yya518/FinBERT 排名第 15,305。

同类别比较
名称排名指标
gojasper/flash-diffusion15,260
语言:
Python
星标数:
667
分叉数:
44
ucla-mobility/AutoVLA15,275
语言:
Python
星标数:
666
分叉数:
55
简介:
[NeurIPS 2025] AutoVLA: A Vision-Language-Action Model for End-to-End Autonomous Driving with Adaptive Reasoning and Reinforcement Fine-Tuning
salesforce/UniControl15,289
语言:
Python
星标数:
665
分叉数:
37
简介:
Unified Controllable Visual Generation Model
yya518/FinBERT15,305
语言:
Jupyter Notebook
星标数:
664
分叉数:
143
简介:
A Pretrained BERT Model for Financial Communications. https://arxiv.org/abs/2006.08097
FlagOpen/Robo-Dopamine15,338
语言:
Python
星标数:
661
分叉数:
68
简介:
[CVPR 2026] Official implementation of "Robo-Dopamine: General Process Reward Modeling for High-Precision Robotic Manipulation"
baaivision/NOVA15,346
语言:
Python
星标数:
661
分叉数:
21
简介:
[ICLR 2025] Autoregressive Video Generation without Vector Quantization
ZZUTK/Face-Aging-CAAE15,368
语言:
Python
星标数:
659
分叉数:
232
简介:
Age Progression/Regression by Conditional Adversarial Autoencoder
Tencent/WeDLM15,381
语言:
Python
星标数:
658
分叉数:
47
简介:
WeDLM: The fastest diffusion language model with standard causal attention and native KV cache compatibility, delivering real speedups over vLLM-optimized baselines.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Vision models
关键词Autonomous vehicles, Datasets, Model architecture
星标数663
分叉数132
贡献者1
创建日期2020-11-09
更新日期2026-10-13
1 天星标数0
7 天星标数1
排名15,317
上次排名15,137
排名变化-180
7 天星标排名11,002
上次 7 天星标排名11,063
7 天星标排名变化61
总星标排名15,513
上次总星标排名15,490
总星标排名变化-23
国家China
README 摘录

**LSTR**: Lane Shape Prediction with Transformers ======= 😎End-to-end architecture: Directly output lane shape parameters. ⚡Super lightweight: The number of model parameters is only 765,787. ⚡Super low complexity: The number of MACs (1 MAC = 2 FLOP) is only 574. 😎Training friendly: Lower GPU memory cost. Input (360, 640, 3) with batch_size 16 uses 1245MiB GPU usages. 0) training, evaluating and pretrained models for LSTR (Lane Shape Prediction with Transformers). We streamline the lane detection to a single-stage

framework by proposing a novel lane shape model that achieves 96. For details see End-to-end Lane Shape Prediction with Transformers by Ruijin Liu, Zejian Yuan, Tie Liu, Zhiliang Xiong. 【2021/12/03】:fire: Our new work Learning to Predict 3D Lane Shape and Camera Pose from a Single Image via Geometry Constraints by Ruijin Liu, Dapeng Chen, Tie Liu, Zhiliang Xiong, Zejian Yuan is accepted by AAAI2022! The preprint paper and codes will be released soon! 【2021/11

/23】 We now support Train and Test Custom Data. Tutorial: Train and Test Your Custom Data. 【2021/11/16】 We fix the Multi-GPU Training. 【2020/12/06】 We now support CULane Dataset. Comming soon [ ] LSTR-nano(New backbone): 96. 33 TuSimple accuracy with only 40% MACs (229. 419M) and 40% #Params (302,546) of LSTR. Model Zoo We provide the baseline LSTR model file (trained on TuSimple train and val sets after 500000 iterations) in the . Data Preparation Download

and extract TuSimple train, val and test with annotations from TuSimple. We expect the directory structure to be the following: Set Envirionment Linux ubuntu 16. 04 After you create the environment, activate it Then Training and Evaluation To train a model: (if you only want to use the train set, please see . json and set "train_split": "train") Visualized images are in . Saved model files (every 5000 iterations) are in . /results/LSTR/500000/testing/lane_debug: Demo (displayed parameters are

rounded to three significant figures. /images, then the detected results will be saved in . /detections): Citation License LSTR is released under BSD 3-Clause License. Please see LICENSE file for more information. Contributing We actively welcome your pull requests! Acknowledgements DETR PolyLaneNet CornerNet

常见问题

记录了多少星标和分叉?

liuruijin17/LSTR 有 663 个星标和 132 个分叉。

仓库排名是多少?

liuruijin17/LSTR 排名第 15,317。

记录的语言和类别是什么?

liuruijin17/LSTR 有 663 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

liuruijin17/LSTR 与 yya518/FinBERT 比较,后者排名第 15,305,有 664 个星标。

README

LSTR: Lane Shape Prediction with Transformers

  • 😎End-to-end architecture: Directly output lane shape parameters.
  • ⚡Super lightweight: The number of model parameters is only 765,787.
  • ⚡Super low complexity: The number of MACs (1 MAC = 2 FLOP) is only 574.280M.
  • 😎Training friendly: Lower GPU memory cost. Input (360, 640, 3) with batch_size 16 uses 1245MiB GPU usages.

PyTorch(1.5.0) training, evaluating and pretrained models for LSTR (Lane Shape Prediction with Transformers). We streamline the lane detection to a single-stage framework by proposing a novel lane shape model that achieves 96.18 TuSimple accuracy.

For details see End-to-end Lane Shape Prediction with Transformers by Ruijin Liu, Zejian Yuan, Tie Liu, Zhiliang Xiong.

Updates!!

  • 【2021/12/03】:fire: Our new work Learning to Predict 3D Lane Shape and Camera Pose from a Single Image via Geometry Constraints by Ruijin Liu, Dapeng Chen, Tie Liu, Zhiliang Xiong, Zejian Yuan is accepted by AAAI2022! The preprint paper and codes will be released soon!

  • 【2021/11/23】 We now support Train and Test Custom Data. Tutorial: Train and Test Your Custom Data.

  • 【2021/11/16】 We fix the Multi-GPU Training.

  • 【2020/12/06】 We now support CULane Dataset.

Comming soon

  • [ ] LSTR-nano(New backbone): 96.33 TuSimple accuracy with only 40% MACs (229.419M) and 40% #Params (302,546) of LSTR.
  • [ ] Mosaic Augmentation.
  • [ ] Loguru based logger module.
  • [ ] Geometry based loss functions.
  • [ ] Segmentation prior.

Model Zoo

We provide the baseline LSTR model file (trained on TuSimple train and val sets after 500000 iterations) in the ./cache/nnet/LSTR/LSTR_500000.pkl (~3.1MB).

Data Preparation

Download and extract TuSimple train, val and test with annotations from TuSimple. We expect the directory structure to be the following:

TuSimple/
    LaneDetection/
        clips/
        label_data_0313.json
        label_data_0531.json
        label_data_0601.json
        test_label.json
    LSTR/

Set Envirionment

  • Linux ubuntu 16.04
conda env create --name lstr --file environment.txt

After you create the environment, activate it

conda activate lstr

Then

pip install -r requirements.txt

Training and Evaluation

To train a model:

(if you only want to use the train set, please see ./config/LSTR.json and set "train_split": "train")

python train.py LSTR
  • Visualized images are in ./results during training.
  • Saved model files (every 5000 iterations) are in ./cache during training.

To train a model from a snapshot model file:

python train.py LSTR --iter 500000

To evaluate (GPU 603MiB usage when evaluating single image iteratively), then you will see the paper's result:

python test.py LSTR --testiter 500000 --modality eval --split testing

To evaluate FPS (set --batch to maximum the FPS, GPU 877MiB usage if you repeat each image 16 times):

python test.py LSTR --testiter 500000 --modality eval --split testing --batch 16

To evaluate and save detected images in ./results/LSTR/500000/testing/lane_debug:

python test.py LSTR --testiter 500000 --modality eval --split testing --debug
  • Demo (displayed parameters are rounded to three significant figures.)

To evaluate and save decoder attention maps (store --debugEnc to visualize encoder attention maps):

python test.py LSTR --testiter 500000 --modality eval --split testing --debug --debugDec

To evaluate on a set of images (store your images in ./images, then the detected results will be saved in ./detections):

python test.py LSTR --testiter 500000 --modality images --image_root ./ --debug

Citation

@InProceedings{LSTR,
author = {Ruijin Liu and Zejian Yuan and Tie Liu and Zhiliang Xiong},
title = {End-to-end Lane Shape Prediction with Transformers},
booktitle = {WACV},
year = {2021}
}

License

LSTR is released under BSD 3-Clause License. Please see LICENSE file for more information.

Contributing

We actively welcome your pull requests!

Acknowledgements

DETR

PolyLaneNet

CornerNet

排名相邻
同类项目