SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.07241 · 2019

SiamCAR: Siamese Fully Convolutional Classification and Regression for Visual Tracking

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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 2 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/1911.07241.json · badge: /api/ran/1911.07241.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
Giveupfree/SiamCAR-CAM community (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_to_gray Ran
ran on a synthesized input
Giveupfree/SiamCAR-CAM/CAM/misc.py
code served (permissive licence) · get_code("0aa7ff7530baf887")
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 4, dtype family float, shape (1, 1, 4, 5) 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)

# Create a small tensor with shape (1, 3, H, W)
# Using distinct sizes: batch=1, channels=3, height=4, width=5
x = torch.randn(1, 3, 4, 5)

# Define percentile argument
percentile = 99

# Construct ARGS dictionary
ARGS = {
    "x": x,
    "percentile": percentile
}
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 Tensor, ndim 4, dtype family float, shape (1, 1, 4, 5) — shape (1, 1, 4, 5) 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_cls_loss Ran
ran on a synthesized input
Giveupfree/SiamCAR-CAM/pysot/models/loss_car.py
code served (permissive licence) · get_code("c15bf5953bf452e6")
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 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 torch.nn.functional as F

torch.manual_seed(0)

# Create pred tensor: log probabilities for 2 samples, 4 classes
# F.nll_loss expects log probabilities as input
pred = torch.randn(2, 4)
pred = F.log_softmax(pred, dim=1)

# Create label tensor: class indices for 2 samples
label = torch.tensor([0, 2], dtype=torch.long)

# Create select tensor: indices to select from pred and label
select = torch.tensor([0, 1], dtype=torch.long)

ARGS = {
    "pred": pred,
    "label": label,
    "select": select
}
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 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
select_cross_entropy_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Giveupfree/SiamCAR-CAM/pysot/models/loss_car.py
code served (permissive licence) · get_code("608039b454e6bd80")
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. 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 pred tensor: shape (2, 2) for binary classification on 2 samples
# The function reshapes to (-1, 2), so we need a tensor with 2 as last dim
pred = torch.randn(2, 2, requires_grad=True)

# Create label tensor: shape (2,) with binary labels (0 or 1)
label = torch.tensor([1, 0], dtype=torch.long)

ARGS = {
    "pred": pred,
    "label": label,
}
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 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
weight_l1_loss Ran
ran; our contract draft was wrong, not the code
Giveupfree/SiamCAR-CAM/pysot/models/loss_car.py
code served (permissive licence) · get_code("1e0c0beeea78d234")
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 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 torch.nn as nn

torch.manual_seed(0)

# Construct arguments for weight_l1_loss
# The function expects:
# - pred_loc: tensor of shape (b, _, sh, sw) that will be reshaped to (b, 4, -1, sh, sw)
# - label_loc: tensor matching the reshaped pred_loc dimensions
# - loss_weight: scalar or broadcastable tensor

b = 2  # batch size
sh = 3  # spatial height
sw = 4  # spatial width
# pred_loc needs to be (b, _, sh, sw) where _ will be reshaped with 4
# So if we reshape to (b, 4, -1, sh, sw), the middle dimension should be 4
# Original shape: (b, c, sh, sw) where c = 4 * some_factor
# Let's use c = 12, so when reshaped to (b, 4, -1, sh, sw) we get (b, 4, 3, sh, sw)
pred_loc = torch.randn(b, 12, sh, sw)

# label_loc should match the reshaped shape (b, 4, -1, sh, sw) = (b, 4, 3, sh, sw)
label_loc = torch.randn(b, 4, 3, sh, sw)

# loss_weight is used in multiplication with diff which has shape (b, -1, sh, sw) = (b, 3, sh, sw)
# It should be broadcastable to that shape
loss_weight = torch.ones(b, 3, sh, sw)

ARGS = {
    'pred_loc': pred_loc,
    'label_loc': label_loc,
    'loss_weight': loss_weight
}
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 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
group_cluster Not yet run
unverified (harvested, no recorded run)
Giveupfree/SiamCAR-CAM/CAM/cluster.py
code served (permissive licence) · get_code("0079a4c094c6e3f7")
How it ran

no invocation recorded.

group_sum Not yet run
unverified (harvested, no recorded run)
Giveupfree/SiamCAR-CAM/CAM/cluster.py
code served (permissive licence) · get_code("270062cafa425f31")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 3 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
get_cls_loss 4 other papers
1 dated earlier, 3 later
1812.11703 (2018-12)
SiamRPN++: Evolution of Siamese Visual Tracking with Very Deep Networks
2003.06761 (2020-03)
Siamese Box Adaptive Network for Visual Tracking
aaai_20232 (2022 (year only))
Homography Decomposition Networks for Planar Object Tracking
and 1 more not named here
select_cross_entropy_loss 4 other papers
1 dated earlier, 3 later
1812.11703 (2018-12)
SiamRPN++: Evolution of Siamese Visual Tracking with Very Deep Networks
2003.06761 (2020-03)
Siamese Box Adaptive Network for Visual Tracking
aaai_20232 (2022 (year only))
Homography Decomposition Networks for Planar Object Tracking
and 1 more not named here
weight_l1_loss 2 other papers
2 dated earlier
1812.05050 (2018-12)
Fast Online Object Tracking and Segmentation: A Unifying Approach
1812.11703 (2018-12)
SiamRPN++: Evolution of Siamese Visual Tracking with Very Deep Networks

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

By decomposing the visual tracking task into two subproblems as classification for pixel category and regression for object bounding box at this pixel, we propose a novel fully convolutional Siamese network to solve visual tracking end-to-end in a per-pixel manner. The proposed framework SiamCAR consists of two simple subnetworks: one Siamese subnetwork for feature extraction and one classification-regression subnetwork for bounding box prediction. Our framework takes ResNet-50 as backbone. Different from state-of-the-art trackers like Siamese-RPN, SiamRPN++ and SPM, which are based on region proposal, the proposed framework is both proposal and anchor free. Consequently, we are able to avoid the tricky hyper-parameter tuning of anchors and reduce human intervention. The proposed framework is simple, neat and effective. Extensive experiments and comparisons with state-of-the-art trackers are conducted on many challenging benchmarks like GOT-10K, LaSOT, UAV123 and OTB-50. Without bells and whistles, our SiamCAR achieves the leading performance with a considerable real-time speed.

For agents

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

get_harvested_code_for_paper("1911.07241")
get_code_for_paper("1911.07241")
have("1911.07241")

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

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

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

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

Connect an agent — have() is free.