SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1311.2524 · CVPR · 2013

Rich feature hierarchies for accurate object detection and semantic segmentation

arXiv · PDF · Open in the Atlas

Code that ran

8 of 17 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; 1 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 9 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/1311.2524.json · badge: /api/ran/1311.2524.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
zjZSTU/R-CNN community (classifier label)
classifier basis not recorded on the link
4 ran · 4 no recorded run
eyangch/caloreasyv2 community (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
jiangbestone/DetectRccn community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
jiangbestone/DetectRCNN reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
jiangbestone/detect_rcnn reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
Srch Ran
ran on a synthesized input
eyangch/caloreasyv2/other/genObj.py
code served (permissive licence) · get_code("619f23a2d62046fc")
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 2, 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 numpy as np

torch.manual_seed(0)

# Create a small test image with RGB color channels
# Shape: (height, width, channels) = (5, 6, 3)
img = torch.randint(0, 256, (5, 6, 3), dtype=torch.uint8).numpy()

# Convert to proper format - the function expects img[row, col] to return a pixel
# Make sure it's a proper numpy array with shape (height, width, 3)
img = np.array([
    [[100, 100, 100], [105, 105, 105], [150, 150, 150], [155, 155, 155], [200, 200, 200], [205, 205, 205]],
    [[102, 102, 102], [104, 104, 104], [152, 152, 152], [160, 160, 160], [202, 202, 202], [210, 210, 210]],
    [[150, 150, 150], [155, 155, 155], [100, 100, 100], [105, 105, 105], [150, 150, 150], [155, 155, 155]],
    [[152, 152, 152], [160, 160, 160], [102, 102, 102], [104, 104, 104], [152, 152, 152], [160, 160, 160]],
    [[200, 200, 200], [205, 205, 205], [150, 150, 150], [155, 155, 155], [100, 100, 100], [105, 105, 105]],
], dtype=np.uint8)

ARGS = {
    "img": img,
    "thresh": 10,
    "padding": 1,
    "minRowWidth": 2,
    "minColumnHeight": 2,
    "minSize": 2
}
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 list, ndim 2, 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
autopad Ran
ran, honoured the contract we drafted
jiangbestone/DetectRccn/models/common.py
pointer only (licence: MIT); the stored copy get_code serves, from yang-0201/YOLOv6_pro, is pointer only (licence: GPL-3.0) · get_code("988a3c854b1b13d0")
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 yang-0201/YOLOv6_pro, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

gdrive_download Ran
ran on a synthesized input
jiangbestone/DetectRccn/lib/google_utils.py
code served (permissive licence) · get_code("aa2a7d97e3d5fc20")
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 time

# This function downloads a file from Google Drive using curl
# It takes two string parameters: id (Google Drive file ID) and name (output filename)
# The function doesn't actually use these values in a way that requires special objects,
# just passes them to os.system() calls

ARGS = {
    'id': '1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO',
    'name': 'test_download.zip'
}
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
getDiff Ran
ran on a synthesized input
eyangch/caloreasyv2/other/genObj.py
code served (permissive licence) · get_code("734d0a8683d1995c")
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 torch
import numpy as np

torch.manual_seed(0)

# The function expects:
# - img: a 2D array-like object that supports indexing [r1, c1] and [r2, c2]
#   where each indexed element is a sequence with at least 3 elements (RGB channels)
# - r1, c1, r2, c2: integer indices

# Create a small image as a numpy array with shape (4, 5, 3) representing 4 rows, 5 cols, 3 color channels
img = np.array([
    [[10, 20, 30], [40, 50, 60], [70, 80, 90], [100, 110, 120], [130, 140, 150]],
    [[15, 25, 35], [45, 55, 65], [75, 85, 95], [105, 115, 125], [135, 145, 155]],
    [[20, 30, 40], [50, 60, 70], [80, 90, 100], [110, 120, 130], [140, 150, 160]],
    [[25, 35, 45], [55, 65, 75], [85, 95, 105], [115, 125, 135], [145, 155, 165]]
], dtype=np.uint8)

r1 = 0
c1 = 0
r2 = 2
c2 = 3

ARGS = {
    "img": img,
    "r1": r1,
    "c1": c1,
    "r2": r2,
    "c2": c2
}
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 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
get_hard_negatives Ran
ran on a synthesized input
zjZSTU/R-CNN/py/linear_svm.py
code served (permissive licence) · get_code("cea1619962cf4c2f")
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 tuple, ndim 2, 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 numpy as np

torch.manual_seed(0)

# Construct tensors for cache_dicts
# The function expects tensors with .numpy() method
rect_tensor = torch.tensor([
    [10, 20, 30, 40],
    [50, 60, 70, 80]
], dtype=torch.float32)

image_id_tensor = torch.tensor([101, 102], dtype=torch.int64)

# Create preds tensor with values 0 and 1
# preds == 1 gives false positives, preds == 0 gives true negatives
preds = torch.tensor([1, 0], dtype=torch.int64)

# Construct cache_dicts with the required keys
cache_dicts = {
    'rect': rect_tensor,
    'image_id': image_id_tensor
}

ARGS = {
    'preds': preds,
    'cache_dicts': cache_dicts
}
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 tuple, ndim 2, dtype family float — a tuple 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
get_rects Ran
ran on a synthesized input
zjZSTU/R-CNN/py/selectivesearch.py
code served (permissive licence) · get_code("e01cf73f59c39e03")
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
import torch.nn as nn

torch.manual_seed(0)

class MockGeometrySystem(nn.Module):
    def __init__(self):
        super().__init__()
    
    def process(self):
        # Return a tensor of shape (2, 4) representing rectangles
        # Format: [x1, y1, width, height] for 2 rectangles
        return torch.tensor([
            [10.0, 20.0, 5.0, 8.0],
            [30.0, 40.0, 15.0, 12.0]
        ])

gs = MockGeometrySystem()

ARGS = {
    "gs": gs
}
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
hinge_loss Ran
ran on a synthesized input
zjZSTU/R-CNN/py/linear_svm.py
code served (permissive licence) · get_code("71a4ab2e9cafc6f4")
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

torch.manual_seed(0)

# outputs: (N, num_classes) tensor of model predictions
# labels: (N) tensor of class labels
# The function indexes outputs with labels and computes hinge loss

num_samples = 2
num_classes = 4

outputs = torch.randn(num_samples, num_classes)
labels = torch.tensor([1, 2])

ARGS = {
    "outputs": outputs,
    "labels": labels,
}
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
iou Ran
ran on a synthesized input
zjZSTU/R-CNN/py/utils/util.py
code served (permissive licence) · get_code("c3d6dab5e0f17548")
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 1, dtype family float, shape (2,) 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

# Create pred_box: a single bounding box [x1, y1, x2, y2]
pred_box = np.array([10.0, 20.0, 50.0, 60.0])

# Create target_box: N bounding boxes [N, 4]
# Multiple target boxes to compute IoU against
target_box = np.array([
    [12.0, 22.0, 48.0, 58.0],  # overlapping box
    [60.0, 70.0, 100.0, 110.0]  # non-overlapping box
])

ARGS = {
    "pred_box": pred_box,
    "target_box": target_box
}
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 1, dtype family float, shape (2,) — shape (2,) 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
BasicBlock Not yet run
unverified (harvested, no recorded run)
jiangbestone/DetectRCNN/models/rcnn.py
code served (permissive licence) · get_code("b298ad3f62f43096")
How it ran

no invocation recorded.

detObj Not yet run
unverified (harvested, no recorded run)
eyangch/caloreasyv2/other/predObj.py
code served (permissive licence) · get_code("39abe3f65f9e62d4")
How it ran

no invocation recorded.

detect1Image Not yet run
unverified (harvested, no recorded run)
jiangbestone/DetectRccn/trainval_net.py
code served (permissive licence) · get_code("9591aa591e61cafc")
How it ran

no invocation recorded.

floodFill Not yet run
unverified (harvested, no recorded run)
eyangch/caloreasyv2/other/genObj.py
code served (permissive licence) · get_code("de12b7de85b85f89")
How it ran

no invocation recorded.

get_model Not yet run
unverified (harvested, no recorded run)
zjZSTU/R-CNN/py/bbox_regression.py
code served (permissive licence) · get_code("8ae1a283374838b2")
How it ran

no invocation recorded.

get_model Not yet run
unverified (harvested, no recorded run)
zjZSTU/R-CNN/py/car_detector.py
code served (permissive licence) · get_code("e334f0be9e7625bc")
How it ran

no invocation recorded.

parse_car_csv Not yet run
unverified (harvested, no recorded run)
zjZSTU/R-CNN/py/utils/util.py
code served (permissive licence) · get_code("1b4a7132cc8b77de")
How it ran

no invocation recorded.

predictions Not yet run
unverified (harvested, no recorded run)
jiangbestone/detect_rcnn/trainval_net.py
code served (permissive licence) · get_code("759a05b23a9dc5e3")
How it ran

no invocation recorded.

train_model Not yet run
unverified (harvested, no recorded run)
zjZSTU/R-CNN/py/finetune.py
code served (permissive licence) · get_code("b5b24a630b2d8c70")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 15 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
autopad 23 other papers
23 later · 1 only as an assembly brick
1703.07402 (2017-03)
Simple Online and Realtime Tracking with a Deep Association Metric
1804.02767 (2018-04)
YOLOv3: An Incremental Improvement
1902.03368 (2019-02)
Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)
and 20 more not named here
gdrive_download 1 other paper
1 later
2009.02967 (2020-09)
Stochastic-YOLO: Efficient Probabilistic Object Detection under Dataset Shifts

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

Object detection performance, as measured on the canonical PASCAL VOC dataset, has plateaued in the last few years. The best-performing methods are complex ensemble systems that typically combine multiple low-level image features with high-level context. In this paper, we propose a simple and scalable detection algorithm that improves mean average precision (mAP) by more than 30% relative to the previous best result on VOC 2012---achieving a mAP of 53.3%. Our approach combines two key insights: (1) one can apply high-capacity convolutional neural networks (CNNs) to bottom-up region proposals in order to localize and segment objects and (2) when labeled training data is scarce, supervised pre-training for an auxiliary task, followed by domain-specific fine-tuning, yields a significant performance boost. Since we combine region proposals with CNNs, we call our method R-CNN: Regions with CNN features. We also compare R-CNN to OverFeat, a recently proposed sliding-window detector based on a similar CNN architecture. We find that R-CNN outperforms OverFeat by a large margin on the 200-class ILSVRC2013 detection dataset. Source code for the complete system is available at http://www.cs.berkeley.edu/~rbg/rcnn.

For agents

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

get_harvested_code_for_paper("1311.2524")
get_code_for_paper("1311.2524")
have("1311.2524")

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

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

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

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

Connect an agent — have() is free.