{"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/cross-view-transformers-for-real-time-map","title":"Cross-view Transformers for real-time Map-view Semantic Segmentation","arxiv_id":"2205.02833","date":"2022-05-05","proceeding":"CVPR 2022 1","authors":["Brady Zhou","Philipp Krähenbühl"],"abstract":"We present cross-view transformers, an efficient attention-based model for map-view semantic segmentation from multiple cameras. Our architecture implicitly learns a mapping from individual camera views into a canonical map-view representation using a camera-aware cross-view attention mechanism. Each camera uses positional embeddings that depend on its intrinsic and extrinsic calibration. These embeddings allow a transformer to learn the mapping across different views without ever explicitly modeling it geometrically. The architecture consists of a convolutional image encoder for each view and cross-view transformer layers to infer a map-view semantic segmentation. Our model is simple, easily parallelizable, and runs in real-time. The presented architecture performs at state-of-the-art on the nuScenes dataset, with 4x faster inference speeds. Code is available at https://github.com/bradyz/cross_view_transformers.","url_abs":"https://arxiv.org/abs/2205.02833v1","url_pdf":"https://arxiv.org/pdf/2205.02833v1.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":"cross-view-transformers-for-real-time-map","repo_url":"https://github.com/bradyz/cross_view_transformers","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"cross-view-transformers-for-real-time-map","repo_url":"https://github.com/valeoai/pointbev","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"bird-s-eye-view-semantic-segmentation","task_name":"Bird's-Eye View Semantic Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/bird-s-eye-view-semantic-segmentation-on","task":"Bird's-Eye View Semantic Segmentation","dataset":"nuScenes","model":"CVT","rank_in_archive_order":8,"of":17,"metrics":{"IoU veh - 224x480 - No vis filter - 100x100 at 0.5":"31.4","IoU veh - 224x480 - Vis filter. - 100x100 at 0.5":"36.0","IoU veh - 448x800 - No vis filter - 100x100 at 0.5":"32.5","IoU veh - 448x800 - Vis filter. - 100x100 at 0.5":"37.7"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.02833","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.02833"}},"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/valeoai/pointbev","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bradyz/cross_view_transformers","reach":null}],"summary":{"ran":1,"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1},"listed":{"samples":7,"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":"b5b6ff1e07487c1e","entry":"CrossViewTransformer","repo":"bradyz/cross_view_transformers","repo_kind":"official","path":"cross_view_transformer/model/cvt.py","file_url":"https://github.com/bradyz/cross_view_transformers/blob/HEAD/cross_view_transformer/model/cvt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5b6ff1e07487c1e"}},{"code_sha256_prefix":"91764f4852fbdcb0","entry":"execute_once","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"91764f4852fbdcb0"}},{"code_sha256_prefix":"a8d64fd00f7d78d2","entry":"CADefnAttn","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"a8d64fd00f7d78d2"}},{"code_sha256_prefix":"d142c3ccdc6ea02b","entry":"DefAttnVT","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"d142c3ccdc6ea02b"}},{"code_sha256_prefix":"c3e7fbe420e6a501","entry":"debug_hook","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"c3e7fbe420e6a501"}},{"code_sha256_prefix":"67775bec49af7aeb","entry":"print_shape","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"67775bec49af7aeb"}},{"code_sha256_prefix":"5b1903778e8c47f2","entry":"print_shape_dict","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"5b1903778e8c47f2"}},{"code_sha256_prefix":"93a54472f922f41f","entry":"print_shape_singleton","repo":"valeoai/pointbev","repo_kind":"listed","path":"pointbev/models/view_transform/attention.py","file_url":"https://github.com/valeoai/pointbev/blob/HEAD/pointbev/models/view_transform/attention.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":"93a54472f922f41f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}