{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/keep-your-eyes-on-the-lane-attention-guided","title":"Keep your Eyes on the Lane: Real-time Attention-guided Lane Detection","arxiv_id":"2010.12035","date":"2020-10-22","proceeding":"CVPR 2021 1","authors":["Lucas Tabelini","Rodrigo Berriel","Thiago M. Paixão","Claudine Badue","Alberto F. de Souza","Thiago Oliveira-Santos"],"abstract":"Modern lane detection methods have achieved remarkable performances in complex real-world scenarios, but many have issues maintaining real-time efficiency, which is important for autonomous vehicles. In this work, we propose LaneATT: an anchor-based deep lane detection model, which, akin to other generic deep object detectors, uses the anchors for the feature pooling step. Since lanes follow a regular pattern and are highly correlated, we hypothesize that in some cases global information may be crucial to infer their positions, especially in conditions such as occlusion, missing lane markers, and others. Thus, this work proposes a novel anchor-based attention mechanism that aggregates global information. The model was evaluated extensively on three of the most widely used datasets in the literature. The results show that our method outperforms the current state-of-the-art methods showing both higher efficacy and efficiency. Moreover, an ablation study is performed along with a discussion on efficiency trade-off options that are useful in practice.","url_abs":"https://arxiv.org/abs/2010.12035v2","url_pdf":"https://arxiv.org/pdf/2010.12035v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"keep-your-eyes-on-the-lane-attention-guided","repo_url":"https://github.com/lucastabelini/LaneATT","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"keep-your-eyes-on-the-lane-attention-guided","repo_url":"https://github.com/Turoad/lanedet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"keep-your-eyes-on-the-lane-attention-guided","repo_url":"https://github.com/zkyntu/UnLanedet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"autonomous-vehicles","task_name":"Autonomous Vehicles"},{"task_slug":"lane-detection","task_name":"Lane Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/lane-detection-on-culane","task":"Lane Detection","dataset":"CULane","model":"LaneATT (ResNet-122)","rank_in_archive_order":39,"of":63,"metrics":{"F1 score":"77.02"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-culane","task":"Lane Detection","dataset":"CULane","model":"LaneATT (ResNet-34)","rank_in_archive_order":40,"of":63,"metrics":{"F1 score":"76.68"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-culane","task":"Lane Detection","dataset":"CULane","model":"LaneATT (ResNet-18)","rank_in_archive_order":46,"of":63,"metrics":{"F1 score":"75.13"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-llamas","task":"Lane Detection","dataset":"LLAMAS","model":"LaneATT (ResNet-34)","rank_in_archive_order":6,"of":10,"metrics":{"F1":"0.9374"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-llamas","task":"Lane Detection","dataset":"LLAMAS","model":"LaneATT (ResNet-122)","rank_in_archive_order":7,"of":10,"metrics":{"F1":"0.9354"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-llamas","task":"Lane Detection","dataset":"LLAMAS","model":"LaneATT (ResNet-18)","rank_in_archive_order":8,"of":10,"metrics":{"F1":"0.9346"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-tusimple","task":"Lane Detection","dataset":"TuSimple","model":"LaneATT (ResNet-122)","rank_in_archive_order":25,"of":43,"metrics":{"Accuracy":"96.10%","F1 score":"96.06"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-tusimple","task":"Lane Detection","dataset":"TuSimple","model":"LaneATT (ResNet-34)","rank_in_archive_order":30,"of":43,"metrics":{"Accuracy":"95.63%","F1 score":"96.77"},"uses_additional_data":false},{"leaderboard":"/sota/lane-detection-on-tusimple","task":"Lane Detection","dataset":"TuSimple","model":"LaneATT (ResNet-18)","rank_in_archive_order":32,"of":43,"metrics":{"Accuracy":"95.57%","F1 score":"96.71"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2010.12035","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.12035"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Turoad/lanedet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zkyntu/UnLanedet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucastabelini/LaneATT","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"official":{"samples":3,"ran":0,"repositories":1},"listed":{"samples":1,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"eaac3e4f8ee24c9e","entry":"get_img_paths","repo":"Turoad/lanedet","repo_kind":"listed","path":"tools/detect.py","file_url":"https://github.com/Turoad/lanedet/blob/HEAD/tools/detect.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eaac3e4f8ee24c9e"}},{"code_sha256_prefix":"2e1fffb767af25e4","entry":"focal_loss","repo":"lucastabelini/LaneATT","repo_kind":"official","path":"lib/focal_loss.py","file_url":"https://github.com/lucastabelini/LaneATT/blob/HEAD/lib/focal_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e1fffb767af25e4"}},{"code_sha256_prefix":"e6a5f2d61cfa43e6","entry":"get_backbone","repo":"lucastabelini/LaneATT","repo_kind":"official","path":"lib/models/laneatt.py","file_url":"https://github.com/lucastabelini/LaneATT/blob/HEAD/lib/models/laneatt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e6a5f2d61cfa43e6"}},{"code_sha256_prefix":"c7460dd375c3ae41","entry":"one_hot","repo":"lucastabelini/LaneATT","repo_kind":"official","path":"lib/focal_loss.py","file_url":"https://github.com/lucastabelini/LaneATT/blob/HEAD/lib/focal_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c7460dd375c3ae41"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}