SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.02158 · 2020

Interpolation-based semi-supervised learning for object detection

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 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, 1 violated it and 2 have no contract verdict; 4 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2006.02158.json · badge: /api/ran/2006.02158.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
soo89/ISD-SSD canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
get_output_dir Ran
ran on a synthesized input
soo89/ISD-SSD/eval512.py
code served (permissive licence) · get_code("a7b0cbe34874ac25")
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 os
import tempfile

# Create a temporary directory for testing
temp_base_dir = tempfile.mkdtemp()

ARGS = {
    "name": os.path.join(temp_base_dir, "experiment_artifacts"),
    "phase": "train"
}
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
intersect Ran
ran; our contract draft was wrong, not the code
soo89/ISD-SSD/layers/box_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/AL-MDN, is pointer only (licence: NOASSERTION) · get_code("f01c5f73515770a5")
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 NVlabs/AL-MDN, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

multibox Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
soo89/ISD-SSD/isd.py
code served (permissive licence) · get_code("b490ac8699f5a7ad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned tuple. 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)

# First, we need to create a VGG configuration and build the vgg layers
vgg_cfg = [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'C', 512, 512, 512, 'M', 512, 512, 512]

def vgg(cfg, i, batch_norm=False):
    layers = []
    in_channels = i
    for v in cfg:
        if v == 'M':
            layers += [nn.MaxPool2d(kernel_size=2, stride=2)]
        elif v == 'C':
            layers += [nn.MaxPool2d(kernel_size=2, stride=2, ceil_mode=True)]
        else:
            conv2d = nn.Conv2d(in_channels, v, kernel_size=3, padding=1)
            if batch_norm:
                layers += [conv2d, nn.BatchNorm2d(v), nn.ReLU(inplace=True)]
            else:
                layers += [conv2d, nn.ReLU(inplace=True)]
            in_channels = v
    pool5 = nn.MaxPool2d(kernel_size=3, stride=1, padding=1)
    conv6 = nn.Conv2d(512, 1024, kernel_size=3, padding=6, dilation=6)
    conv7 = nn.Conv2d(1024, 1024, kernel_size=1)
    layers += [pool5, conv6, nn.ReLU(inplace=True), conv7, nn.ReLU(inplace=True)]
    return layers

# Build vgg layers
vgg_layers = vgg(vgg_cfg, 3, batch_norm=False)

# Create extra_layers - these should be conv layers with out_channels attribute
# The function accesses extra_layers[1::2] (every other element starting from index 1)
# and expects them to have .out_channels
extra_layers = [
    nn.Conv2d(1024, 256, kernel_size=1),
    nn.Conv2d(256, 512, kernel_size=3, stride=2, padding=1),
    nn.Conv2d(512, 128, kernel_size=1),
    nn.Conv2d(128, 256, kernel_size=3, stride=2, padding=1),
]

# cfg is a list of numbers representing the number of boxes per feature map
# The function expects len(cfg) >= 2 + len(extra_layers[1::2])
# extra_layers[1::2] has length 2, so cfg needs at least 4 elements
cfg = [4, 6, 6, 4]

# num_classes
num_classes = 21

ARGS = {
    'vgg': vgg_layers,
    'extra_layers': extra_layers,
    'cfg': cfg,
    'num_classes': num_classes
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
point_form Ran
ran; our contract draft was wrong, not the code
soo89/ISD-SSD/layers/box_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/AL-MDN, is pointer only (licence: NOASSERTION) · get_code("3bea1addc1e14162")
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 NVlabs/AL-MDN, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

rampweight Ran
ran on a synthesized input
soo89/ISD-SSD/train_isd.py
code served (permissive licence) · get_code("6e1a768b24844110")
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 math

def rampweight(iteration):
    ramp_up_end = 32000
    ramp_down_start = 100000
    coef = 1
    if iteration < ramp_up_end:
        ramp_weight = math.exp(-5 * math.pow(1 - iteration / ramp_up_end, 2))
    elif iteration > ramp_down_start:
        ramp_weight = math.exp(-12.5 * math.pow(1 - (120000 - iteration) / 20000, 2))
    else:
        ramp_weight = 1
    if iteration == 0:
        ramp_weight = 0
    return ramp_weight * coef

ARGS = {
    "iteration": 50000
}
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
str2bool Ran
ran, violated the contract we drafted
soo89/ISD-SSD/train_isd.py
code served (permissive licence) · get_code("25c7475539e39da4")
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) and returned bool, 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

def str2bool(v):
    return v.lower() in ('yes', 'true', 't', '1')

ARGS = {
    'v': 'true'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, 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
vgg Ran
ran; our contract draft was wrong, not the code
soo89/ISD-SSD/isd.py
code served (permissive licence) · get_code("6921f7ed00595a4f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; 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
import torch.nn as nn

torch.manual_seed(0)

# The function expects:
# - cfg: a list/tuple containing integers (number of channels) and strings 'M' or 'C' for pooling
# - i: integer representing input channels
# - batch_norm: boolean flag

# Looking at the function body, cfg is iterated over and can contain:
# - 'M' or 'C' for MaxPool2d layers
# - integers for Conv2d output channels
# The function builds a VGG-style network

# Create a simple configuration
cfg = [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'C', 512, 512, 512, 'M', 512, 512, 512]

# Input channels (typically 3 for RGB images)
i = 3

# Batch normalization flag
batch_norm = False

ARGS = {
    'cfg': cfg,
    'i': i,
    'batch_norm': batch_norm
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 float — 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
add_extras Not yet run
unverified (harvested, no recorded run)
soo89/ISD-SSD/isd.py
code served (permissive licence) · get_code("a73c255a822431a2")
How it ran

no invocation recorded.

center_size Not yet run
unverified (harvested, no recorded run)
soo89/ISD-SSD/layers/box_utils.py
code served (permissive licence) · get_code("aa1d78402838820a")
How it ran

no invocation recorded.

create_vis_plot Not yet run
unverified (harvested, no recorded run)
soo89/ISD-SSD/train_isd.py
code served (permissive licence) · get_code("567ece0b1b81daa6")
How it ran

no invocation recorded.

parse_rec Not yet run
unverified (harvested, no recorded run)
soo89/ISD-SSD/eval512.py
code served (permissive licence) · get_code("a92789866fc1591a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 6 later) and 2 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
str2bool 23 other papers
11 dated earlier, 1 the same month, 11 later
1410.5401 (2014-10)
Neural Turing Machines
1502.04623 (2015-02)
DRAW: A Recurrent Neural Network For Image Generation
1504.06852 (2015-04)
FlowNet: Learning Optical Flow with Convolutional Networks
and 20 more not named here
intersect 14 other papers
8 dated earlier, 1 the same month, 5 later
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
and 11 more not named here
point_form 12 other papers
7 dated earlier, 5 later
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
and 9 more not named here
vgg 11 other papers
10 dated earlier, 1 later
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
1611.08563 (2016-11)
Online Real-time Multiple Spatiotemporal Action Localisation and Prediction
and 8 more not named here
center_size 9 other papers
5 dated earlier, 4 later
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
and 6 more not named here
multibox 6 other papers
5 dated earlier, 1 later
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
1908.07129 (2019-08)
Zero-Shot Grounding of Objects from Natural Language Queries
1911.10033 (2019-11)
Domain Adaptation for Object Detection via Style Consistency
and 3 more not named here
parse_rec 2 other papers
2 dated earlier
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
1911.10033 (2019-11)
Domain Adaptation for Object Detection via Style Consistency
add_extras 1 other paper
1 dated earlier
2002.06815 (2020-02)
Class-Imbalanced Semi-Supervised Learning
create_vis_plot 1 other paper
1 dated earlier
2002.06815 (2020-02)
Class-Imbalanced Semi-Supervised Learning

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-22.

Repositories linked to this paper

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

Abstract

Despite the data labeling cost for the object detection tasks being substantially more than that of the classification tasks, semi-supervised learning methods for object detection have not been studied much. In this paper, we propose an Interpolation-based Semi-supervised learning method for object Detection (ISD), which considers and solves the problems caused by applying conventional Interpolation Regularization (IR) directly to object detection. We divide the output of the model into two types according to the objectness scores of both original patches that are mixed in IR. Then, we apply a separate loss suitable for each type in an unsupervised manner. The proposed losses dramatically improve the performance of semi-supervised learning as well as supervised learning. In the supervised learning setting, our method improves the baseline methods by a significant margin. In the semi-supervised learning setting, our algorithm improves the performance on a benchmark dataset (PASCAL VOC and MSCOCO) in a benchmark architecture (SSD).

For agents

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

get_harvested_code_for_paper("2006.02158")
get_code_for_paper("2006.02158")
have("2006.02158")

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

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

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

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

Connect an agent — have() is free.