SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.06859 · 2022

Semi-Supervised Training to Improve Player and Ball Detection in Soccer

arXiv · PDF · Open in the Atlas

Code that ran

11 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, 0 violated it and 8 have no contract verdict; 3 failures of our instrument; 0 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/2204.06859.json · badge: /api/ran/2204.06859.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
rvandeghen/sst canonical (classifier label)
classifier basis not recorded on the link
11 ran · 0 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran; our contract draft was wrong, not the code
rvandeghen/sst/src/utils.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from windygoo/promptnucseg, is pointer only (licence: NONE) · get_code("345f34217e670c58")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from windygoo/promptnucseg, 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.

encode_boxes Ran
ran on a synthesized input
rvandeghen/sst/src/models/_utils.py
code served (permissive licence) · get_code("e52a218109e565fd")
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. 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)

# Create small tensors for the function
# reference_boxes: shape (2, 4) - 2 boxes with x1, y1, x2, y2 coordinates
reference_boxes = torch.tensor([
    [10.0, 20.0, 50.0, 60.0],
    [15.0, 25.0, 55.0, 65.0]
], dtype=torch.float32)

# proposals: shape (2, 4) - 2 proposal boxes with x1, y1, x2, y2 coordinates
proposals = torch.tensor([
    [12.0, 22.0, 48.0, 58.0],
    [16.0, 26.0, 54.0, 64.0]
], dtype=torch.float32)

# weights: shape (4,) - weights for (x, y, w, h)
weights = torch.tensor([1.0, 1.0, 1.0, 1.0], dtype=torch.float32)

ARGS = {
    "reference_boxes": reference_boxes,
    "proposals": proposals,
    "weights": weights
}
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
get_args_parser Ran
ran on a synthesized input
rvandeghen/sst/src/label.py
code served (permissive licence) · get_code("d55d007e3b57f08d")
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 ArgumentParser. 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 argparse
import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'add_help': 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 ArgumentParser — a ArgumentParser output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ArgumentParser 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
get_args_parser Ran
ran on a synthesized input
rvandeghen/sst/src/threshold.py
code served (permissive licence) · get_code("ae00fb380cf33d9e")
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 ArgumentParser. 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 argparse

def get_args_parser(add_help=True):
    import argparse
    parser = argparse.ArgumentParser(description='Script to threshold the pseudo-labels', add_help=add_help)
    parser.add_argument('--input-file')
    parser.add_argument('--output-file')
    parser.add_argument('--parametrization', default=3, type=int, help='parametrization to use, choose between 1, 2 or 3 (default: 1)')
    parser.add_argument('--tl', default=0.9, type=float, help='Value for tau_low (default: 0.9')
    parser.add_argument('--th', default=1.0, type=float, help='Value for tau_high (default: 1.)')
    return parser

ARGS = {
    'add_help': True
}
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 ArgumentParser — a ArgumentParser output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ArgumentParser 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
mobilenet_backbone Ran
ran on a synthesized input
rvandeghen/sst/src/models/backbone_utils.py
code served (permissive licence) · get_code("d03869577010b630")
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 BackboneWithFPN. 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
from torchvision.ops.feature_pyramid_network import LastLevelMaxPool
from torchvision.ops import misc as misc_nn_ops

torch.manual_seed(0)

# Create a minimal stand-in for mobilenet backbone structure
class MinimalConvBlock(nn.Module):
    def __init__(self, out_channels):
        super().__init__()
        self.conv = nn.Conv2d(3, out_channels, 1)
        self.out_channels = out_channels
        self._is_cn = False
    
    def forward(self, x):
        return self.conv(x)

class MinimalDepthwiseSeparableBlock(nn.Module):
    def __init__(self, in_channels, out_channels):
        super().__init__()
        self.conv = nn.Conv2d(in_channels, out_channels, 1)
        self.out_channels = out_channels
        self._is_cn = True
    
    def forward(self, x):
        return self.conv(x)

class MinimalMobileNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.features = nn.Sequential(
            MinimalConvBlock(32),
            MinimalDepthwiseSeparableBlock(32, 64),
            MinimalDepthwiseSeparableBlock(64, 128),
            MinimalDepthwiseSeparableBlock(128, 256),
            MinimalDepthwiseSeparableBlock(256, 512),
        )
    
    def forward(self, x):
        return self.features(x)

# Register the minimal model in mobilenet dict
import torchvision.models.mobilenet as mobilenet_module
mobilenet_module.__dict__['mobilenet_v2'] = lambda pretrained=False, norm_layer=None: MinimalMobileNet()

ARGS = {
    'backbone_name': 'mobilenet_v2',
    'pretrained': False,
    'fpn': True,
    'norm_layer': misc_nn_ops.FrozenBatchNorm2d,
    'trainable_layers': 2,
    'returned_layers': None,
    'extra_blocks': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BackboneWithFPN — a BackboneWithFPN output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a BackboneWithFPN 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
parametrization_1 Ran
ran on a synthesized input
rvandeghen/sst/src/threshold.py
code served (permissive licence) · get_code("8711db346abf41d0")
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 dict. 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 json
import tempfile
import os

# Create a temporary JSON file with test data
temp_dir = tempfile.mkdtemp()
json_file = os.path.join(temp_dir, "test_data.json")

test_data = {
    "image_1": {
        "bbox": [[10, 20, 30, 40], [50, 60, 70, 80], [100, 110, 120, 130]],
        "scores": [0.9, 0.5, 0.95]
    },
    "image_2": {
        "bbox": [[5, 15, 25, 35], [45, 55, 65, 75]],
        "scores": [0.3, 0.85]
    },
    "image_3": {
        "other_field": "some_value"
    }
}

with open(json_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "file": json_file,
    "t_h": 0.7
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
parametrization_2 Ran
ran on a synthesized input
rvandeghen/sst/src/threshold.py
code served (permissive licence) · get_code("4869920ace3fafa9")
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 dict. 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 json
import tempfile
import os

# Create a temporary JSON file with test data
temp_dir = tempfile.mkdtemp()
test_file = os.path.join(temp_dir, "test_data.json")

test_data = {
    "image_1": {
        "bbox": [[10, 20, 30, 40], [50, 60, 70, 80], [100, 110, 120, 130]],
        "scores": [0.95, 0.65, 0.25]
    },
    "image_2": {
        "bbox": [[5, 15, 25, 35]],
        "scores": [0.55]
    },
    "image_3": {
        "bbox": [[1, 2, 3, 4]],
        "scores": [0.15]
    },
    "image_4": {
        "other_field": "some_value"
    }
}

with open(test_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "file": test_file,
    "t_l": 0.5,
    "t_h": 0.8
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
reduce_dict Ran
ran; our contract draft was wrong, not the code
rvandeghen/sst/src/utils.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from kellyiss/situformer, is pointer only (licence: NONE) · get_code("05992505df9ef0cd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from kellyiss/situformer, 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.

resnet_fpn_backbone Ran
ran on a synthesized input
rvandeghen/sst/src/models/backbone_utils.py
code served (permissive licence) · get_code("6d23eb67c9de3bc9")
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 BackboneWithFPN. 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
from torchvision.ops import misc as misc_nn_ops

torch.manual_seed(0)

ARGS = {
    'backbone_name': 'resnet50',
    'pretrained': False,
    'norm_layer': misc_nn_ops.FrozenBatchNorm2d,
    'trainable_layers': 3,
    'returned_layers': [1, 2, 3, 4],
    'extra_blocks': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BackboneWithFPN — a BackboneWithFPN output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a BackboneWithFPN 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
retrieve_out_channels Ran
ran on a synthesized input
rvandeghen/sst/src/models/_utils.py
code served (permissive licence) · get_code("99c43ee378011a92")
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
import torch.nn as nn
from collections import OrderedDict

torch.manual_seed(0)

# Create a simple model that returns an OrderedDict of tensors
class SimpleFeatureExtractor(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 16, kernel_size=3, padding=1)
        self.conv2 = nn.Conv2d(16, 32, kernel_size=3, padding=1)
    
    def forward(self, x):
        feat1 = self.conv1(x)
        feat2 = self.conv2(feat1)
        return OrderedDict([
            ('layer1', feat1),
            ('layer2', feat2)
        ])

# Instantiate the model
model = SimpleFeatureExtractor()
model.eval()

# Define the input size as (width, height)
size = (4, 3)

ARGS = {
    'model': model,
    'size': size
}
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
warmup_lr_scheduler Ran
ran; our contract draft was wrong, not the code
rvandeghen/sst/src/utils.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from tiankongzhang/nsa, is pointer only (licence: NONE) · get_code("18e46d40adcc7912")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from tiankongzhang/nsa, 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.

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, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 3 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.

FunctionAlso present inEarliest-datedOthers named
reduce_dict 33 other papers
8 dated earlier, 24 later, 1 same year, order not determinable
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
1811.10200 (2018-11)
IDD: A Dataset for Exploring Problems of Autonomous Navigation in Unconstrained Environments
2007.02419 (2020-07)
Attention-based Joint Detection of Object and Semantic Part
and 30 more not named here
all_gather 3 other papers
3 later
2303.05148 (2023-03)
Weakly Supervised Knowledge Transfer with Probabilistic Logical Reasoning for Object Detection
2311.15939 (2023-11)
Unleashing the Power of Prompt-driven Nucleus Instance Segmentation
2406.20095 (2024-06)
LLaRA: Supercharging Robot Learning Data for Vision-Language Policy
warmup_lr_scheduler 1 other paper
1 later
2308.08182 (2023-08)
Unsupervised Domain Adaptive Detection with Network Stability Analysis

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

Accurate player and ball detection has become increasingly important in recent years for sport analytics. As most state-of-the-art methods rely on training deep learning networks in a supervised fashion, they require huge amounts of annotated data, which are rarely available. In this paper, we present a novel generic semi-supervised method to train a network based on a labeled image dataset by leveraging a large unlabeled dataset of soccer broadcast videos. More precisely, we design a teacher-student approach in which the teacher produces surrogate annotations on the unlabeled data to be used later for training a student which has the same architecture as the teacher. Furthermore, we introduce three training loss parametrizations that allow the student to doubt the predictions of the teacher during training depending on the proposal confidence score. We show that including unlabeled data in the training process allows to substantially improve the performances of the detection network trained only on the labeled data. Finally, we provide a thorough performance study including different proportions of labeled and unlabeled data, and establish the first benchmark on the new SoccerNet-v3 detection task, with an mAP of 52.3%. Our code is available at https://github.com/rvandeghen/SST .

For agents

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

get_harvested_code_for_paper("2204.06859")
get_code_for_paper("2204.06859")
have("2204.06859")

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

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

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

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

Connect an agent — have() is free.