SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.02833 · CVPR · 2022

Cross-view Transformers for real-time Map-view Semantic Segmentation

U Austin, Brady Zhou

arXiv · PDF · Open in the Atlas

Code that ran

2 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2205.02833.json · badge: /api/ran/2205.02833.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
valeoai/pointbev community
Papers with Code archive
1 ran · 6 no recorded run
bradyz/cross_view_transformers marked official in Papers with Code
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
CrossViewTransformer Ran
ran on a synthesized input · constructed an object; no result was computed
bradyz/cross_view_transformers/cross_view_transformer/model/cvt.py
code served (permissive licence) · get_code("b5b6ff1e07487c1e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CrossViewTransformer: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal encoder that outputs tensors
class MinimalEncoder(nn.Module):
    def __init__(self, out_channels=16):
        super().__init__()
        self.out_channels = out_channels
        self.conv = nn.Conv2d(3, out_channels, 3, padding=1)
    
    def forward(self, batch):
        # batch is expected to be a dict or tensor
        # returning a tensor with out_channels
        if isinstance(batch, dict):
            x = batch.get('image', torch.randn(2, 3, 32, 32))
        else:
            x = batch
        return self.conv(x)

# Build a minimal decoder that outputs tensors
class MinimalDecoder(nn.Module):
    def __init__(self, in_channels=16, out_channels=8):
        super().__init__()
        self.out_channels = out_channels
        self.conv = nn.Conv2d(in_channels, out_channels, 3, padding=1)
    
    def forward(self, x):
        return self.conv(x)

encoder = MinimalEncoder(out_channels=16)
decoder = MinimalDecoder(in_channels=16, out_channels=8)

# Create a batch input (dict with image tensor)
batch = {
    'image': torch.randn(2, 3, 32, 32)
}

# Define outputs: must satisfy the constraint that dim_max == dim_total
# For 'bev': [0, 2], dim_total = 2, dim_max = 2 ✓
outputs = {
    'bev': [0, 2]
}

ARGS = {
    'encoder': encoder,
    'decoder': decoder,
    'dim_last': 4,
    'outputs': outputs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CrossViewTransformer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CrossViewTransformer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
execute_once Ran
ran; our contract draft was wrong, not the code
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("91764f4852fbdcb0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import functools

torch.manual_seed(0)

def execute_once(is_hook=True):

    def decorator(f):
        dict_cnt = {}

        @functools.wraps(f)
        def wrapper(*args, **kwargs):
            nonlocal dict_cnt
            if is_hook:
                module = args[0]
                name = module.__class__.__name__
            else:
                name = f.__qualname__
            if name not in dict_cnt.keys():
                dict_cnt[name] = 1
                return f(*args, **kwargs)
        return wrapper
    return decorator


# Create a simple hook function that takes a module as first argument
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a test function to decorate with is_hook=True
@execute_once(is_hook=True)
def hook_function(module, grad_input, grad_output):
    pass

# Create a test function to decorate with is_hook=False
@execute_once(is_hook=False)
def regular_function(x):
    pass

# Setup the arguments for execute_once
module = SimpleModule()
dummy_grad_input = (torch.randn(2, 4),)
dummy_grad_output = (torch.randn(2, 3),)

ARGS = {
    'is_hook': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
CADefnAttn Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("a8d64fd00f7d78d2")
How it ran

no invocation recorded.

DefAttnVT Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("d142c3ccdc6ea02b")
How it ran

no invocation recorded.

debug_hook Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("c3e7fbe420e6a501")
How it ran

no invocation recorded.

print_shape Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("67775bec49af7aeb")
How it ran

no invocation recorded.

print_shape_dict Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("5b1903778e8c47f2")
How it ran

no invocation recorded.

print_shape_singleton Not yet run
unverified (harvested, no recorded run)
valeoai/pointbev/pointbev/models/view_transform/attention.py
code served (permissive licence) · get_code("93a54472f922f41f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 realtime. The presented architecture performs at state-of-theart on the nuScenes dataset, with 4x faster inference speeds. Code is available at https://github.com/bradyz/ cross_view_transformers.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2205.02833")
get_code_for_paper("2205.02833")
have("2205.02833")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2205.02833.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2205.02833.svg)](https://syntology.ai/paper/2205.02833)

Connect an agent — have() is free.