SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.10917 · 2019

FasterSeg: Searching for Faster Real-time Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 2 failures of our instrument; 2 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/1912.10917.json · badge: /api/ran/1912.10917.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
TAMU-VITA/FasterSeg canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
gaussianer/fasterseg community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
countFiles Ran
ran on a synthesized input
gaussianer/fasterseg/dataset/pull_data_exchange.py
code served (permissive licence) · get_code("a8dbcf8fd1f7a07e")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 os
import tempfile
import shutil

# Create a temporary directory with some test files
temp_dir = tempfile.mkdtemp()
test_files = ['file1.txt', 'file2.txt', 'file3.py', 'file4.json']
for filename in test_files:
    filepath = os.path.join(temp_dir, filename)
    with open(filepath, 'w') as f:
        f.write('test content')

# Define the arguments dictionary
ARGS = {
    'dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
downs2path Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/latency/model_seg.py
code served (permissive licence) · get_code("dfe5e7d3e26a5cf3")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

# The function downs2path takes a list/sequence called 'downs'
# It iterates through downs[:-1] and checks if each element is 0 or 1
# It builds a path by appending values to a list

# Create a valid downs argument - a list of integers (0s and 1s)
downs = [0, 1, 0, 1, 1]

ARGS = {
    "downs": downs
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
find_latency Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/latency/latency_lookup_table.py
code served (permissive licence) · get_code("9042a9ffc3ec7b3c")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

torch.manual_seed(0)

# Build a lookup_table that covers all possible keys the function might access
lookup_table = {
    # stem keys
    'stem_H1024_W2048_F64': 0.5,
    'stem_H1024_W2048_F128': 0.6,
    'stem_H1024_W2048_F256': 0.7,
    
    # head keys
    'head_H1024_W2048_F64_branch0_19': 0.3,
    'head_H1024_W2048_F64_branch1_19': 0.35,
    'head_H1024_W2048_F128_branch0_19': 0.4,
    'head_H1024_W2048_F128_branch1_19': 0.45,
    
    # refines keys
    'refines1_H1024_W2048_F64': 0.2,
    'refines2_H1024_W2048_F64': 0.25,
    'refines1_H1024_W2048_F128': 0.3,
    
    # arms keys
    'arms1_H1024_W2048_F64': 0.15,
    'arms2_H1024_W2048_F64': 0.18,
    'arms1_H1024_W2048_F128': 0.22,
    
    # ff keys
    'ff_H1024_W2048_F64_branch0': 0.4,
    'ff_H1024_W2048_F64_branch1': 0.45,
    'ff_H1024_W2048_F128_branch0': 0.5,
    
    # generic convolution-like keys
    'conv_H1024_W2048_Cin3_Cout64_scale1_stride1_dilation1': 0.55,
    'conv_H1024_W2048_Cin64_Cout128_scale2_stride2_dilation1': 0.65,
    'conv_H1024_W2048_Cin128_Cout256_scale1_stride1_dilation2': 0.75,
}

# Test with stem
ARGS = {
    'name': 'stem',
    'info': {'F': 64},
    'lookup_table': lookup_table,
    'H': 1024,
    'W': 2048,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
getNameFromPath Ran
ran on a synthesized input
gaussianer/fasterseg/dataset/create_mapping_lists.py
code served (permissive licence) · get_code("ea37814857f4967d")
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 str. 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 re
import time

def getNameFromPath(dataset_path, format):
    name = re.sub('_' + format, '', dataset_path)
    cut = name.find('synth')
    if cut == -1:
        cut = name.find('real')
    if cut == -1:
        cut = name.find('test')
    name = name[cut:]
    return name

ARGS = {
    'dataset_path': 'path_to_synth_dataset_csv',
    'format': 'csv'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
getNameFromPath Ran
ran on a synthesized input
gaussianer/fasterseg/dataset/pull_data_exchange.py
code served (permissive licence) · get_code("31791e37090921a5")
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 str. 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 numpy as np

torch.manual_seed(0)

# Analyze the function:
# - Takes one parameter: data_name
# - Calls .find('route') on it - must be a string
# - Uses string slicing [cut:]
# - Returns the result

data_name = "path/to/route_123/data.txt"

ARGS = {
    "data_name": data_name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
gumbel_softmax Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/search/model_search.py
code served (permissive licence) · get_code("d7fcc574ceb67943")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape 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.functional as F

torch.manual_seed(0)

# Create a small logits tensor for gumbel_softmax
# Shape: [batch_size=2, n_class=4]
logits = torch.randn(2, 4)

# Define ARGS with all parameters of gumbel_softmax
ARGS = {
    "logits": logits,
    "temperature": 1.0,
    "hard": False,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
gumbel_softmax_sample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TAMU-VITA/FasterSeg/search/model_search.py
pointer only (licence: MIT); the stored copy get_code serves, from gatech-eic/nasa, is pointer only (licence: NONE) · get_code("0d41bbe52278fde1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from gatech-eic/nasa, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

one_hot Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/search/loss.py
code served (permissive licence) · get_code("75fbeebf4d62eccd")
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 Tensor, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape 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

torch.manual_seed(0)

# index: a tensor that will be viewed and scattered into
# The function calls index.size()[:1] to get batch size, then .view(view)
# So index should be 1D or have a batch dimension
index = torch.tensor([0, 2, 1, 3], dtype=torch.long)

# classes: an integer representing number of classes
classes = 4

ARGS = {
    "index": index,
    "classes": classes
}
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 Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
path2downs Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/latency/model_seg.py
code served (permissive licence) · get_code("cb0ded7195db7c27")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

# path2downs expects a list of integers representing nodes in a path
# The function checks that consecutive nodes either stay the same (0) or increase by 1
# It returns a list of 0s and 1s indicating whether each step is "down" (0) or "up" (1)

path = [0, 0, 1, 1, 2, 2, 3]

ARGS = {
    "path": path
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
sample_gumbel Ran
ran; our contract draft was wrong, not the code
TAMU-VITA/FasterSeg/search/model_search.py
pointer only (licence: MIT); the stored copy get_code serves, from gatech-eic/nasa, is pointer only (licence: NONE) · get_code("7c913c414af7196f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from gatech-eic/nasa, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax Ran
ran on a synthesized input
TAMU-VITA/FasterSeg/latency/model_seg.py
code served (permissive licence) · get_code("961eced33874cb53")
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 ndarray, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# The function takes a single parameter 'x' which is used with:
# - np.exp(x) - exponential function
# - .sum() - summing all elements
# - np.spacing(1) - machine epsilon for numerical stability

# Create a small numpy array as input
x = np.array([[1.0, 2.0, 3.0, 4.0],
              [0.5, 1.5, 2.5, 3.5]])

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
generateFilenamesList Not yet run
unverified (harvested, no recorded run)
gaussianer/fasterseg/dataset/pull_data_exchange.py
code served (permissive licence) · get_code("68e71dcb0bf9d381")
How it ran

no invocation recorded.

profile_estimated Not yet run
unverified (harvested, no recorded run)
TAMU-VITA/FasterSeg/latency/latency_lookup_table.py
code served (permissive licence) · get_code("db2e7923db7297de")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 4 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 4 later) and 9 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.

FunctionAlso present inEarliest-datedOthers named
sample_gumbel 7 other papers
7 later
2008.11062 (2020-08)
GAN Slimming: All-in-One GAN Compression by A Unified Optimization Framework
Fu_SACoD_Sensor_Algorithm_Co-Design_Towards_Efficient_CNN-Powered_Intelligent_PhlatCam_ICCV_2021_paper (2021 (year only))
SACoD: Sensor Algorithm Co-Design Towards Efficient CNN-powered Intelligent PhlatCam
2106.06361 (2021-06)
Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution
and 4 more not named here
gumbel_softmax_sample 5 other papers
5 later
2008.11062 (2020-08)
GAN Slimming: All-in-One GAN Compression by A Unified Optimization Framework
Fu_SACoD_Sensor_Algorithm_Co-Design_Towards_Efficient_CNN-Powered_Intelligent_PhlatCam_ICCV_2021_paper (2021 (year only))
SACoD: Sensor Algorithm Co-Design Towards Efficient CNN-powered Intelligent PhlatCam
2106.06575 (2021-06)
Auto-NBA: Efficient and Effective Search Over the Joint Space of Networks, Bitwidths, and Accelerators
and 2 more not named here
gumbel_softmax 2 other papers
2 later
2008.11062 (2020-08)
GAN Slimming: All-in-One GAN Compression by A Unified Optimization Framework
Fu_SACoD_Sensor_Algorithm_Co-Design_Towards_Efficient_CNN-Powered_Intelligent_PhlatCam_ICCV_2021_paper (2021 (year only))
SACoD: Sensor Algorithm Co-Design Towards Efficient CNN-powered Intelligent PhlatCam
one_hot 2 other papers
1 dated earlier, 1 later
1905.06368 (2019-05)
Collaborative Global-Local Networks for Memory-Efficient Segmentation of Ultra-High Resolution Images
Li_From_Contexts_to_Locality_Ultra-High_Resolution_Image_Segmentation_via_Locality-Aware_ICCV_2021_paper (2021 (year only))
From Contexts to Locality: Ultra-high Resolution Image Segmentation via Locality-aware Contextual Correlation

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 FasterSeg, an automatically designed semantic segmentation network with not only state-of-the-art performance but also faster speed than current methods. Utilizing neural architecture search (NAS), FasterSeg is discovered from a novel and broader search space integrating multi-resolution branches, that has been recently found to be vital in manually designed segmentation models. To better calibrate the balance between the goals of high accuracy and low latency, we propose a decoupled and fine-grained latency regularization, that effectively overcomes our observed phenomenons that the searched networks are prone to "collapsing" to low-latency yet poor-accuracy models. Moreover, we seamlessly extend FasterSeg to a new collaborative search (co-searching) framework, simultaneously searching for a teacher and a student network in the same single run. The teacher-student distillation further boosts the student model's accuracy. Experiments on popular segmentation benchmarks demonstrate the competency of FasterSeg. For example, FasterSeg can run over 30% faster than the closest manually designed competitor on Cityscapes, while maintaining comparable accuracy.

For agents

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

get_harvested_code_for_paper("1912.10917")
get_code_for_paper("1912.10917")
have("1912.10917")

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

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

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

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

Connect an agent — have() is free.