SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.08900 · 2019

CornerNet-Lite: Efficient Keypoint Based Object Detection

arXiv · PDF · Open in the Atlas

Code that ran

21 of 27 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 17 have no contract verdict; 3 failures of our instrument; 6 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/1904.08900.json · badge: /api/ran/1904.08900.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
princeton-vl/CornerNet-Lite canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
jason-su/UCGNet community (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
Arno3165229/CornerNet_Traffic_Light community (classifier label)
classifier basis: plan_row
4 ran · 0 no recorded run
takooctopus/CornerNet-Lite-Tako community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
adjustBox Ran
ran on a synthesized input
jason-su/UCGNet/custom/II_final_cluster.py
code served (permissive licence) · get_code("31f1bf0da9917cf2")
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 numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - box: a list/array with at least 6 elements (indexed as [0-5])
#   - box[0], box[1]: center coordinates (x, y)
#   - box[2], box[4]: x coordinates (left, right)
#   - box[3], box[5]: y coordinates (top, bottom)
# - iw: image width (integer)
# - ih: image height (integer)

# Create a valid box: [center_x, center_y, left, top, right, bottom]
# Using a simple case where we have a box within an image
box = [800, 800, 500, 500, 1100, 1100]  # center at (800, 800), spans 600x600

iw = 1600  # image width
ih = 1600  # image height

ARGS = {
    "box": box,
    "iw": iw,
    "ih": ih
}
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 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
bbox_overlaps Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/sample/cornernet_saccade.py
code served (permissive licence) · get_code("60533f474c215b10")
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 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 torch
import numpy as np

torch.manual_seed(0)

# Create bounding boxes in format [x1, y1, x2, y2]
# a_dets: 2 bounding boxes
a_dets = torch.tensor([
    [0.0, 0.0, 4.0, 3.0],  # box with width=4, height=3, area=12
    [1.0, 1.0, 5.0, 4.0],  # box with width=4, height=3, area=12
], dtype=torch.float32)

# b_dets: 2 bounding boxes (different size for distinction)
b_dets = torch.tensor([
    [0.0, 0.0, 2.0, 2.0],  # box with width=2, height=2, area=4
    [0.0, 0.0, 4.0, 4.0],  # box with width=4, height=4, area=16
], dtype=torch.float32)

ARGS = {
    "a_dets": a_dets,
    "b_dets": b_dets,
}
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 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
caps_loss Ran
ran; our contract draft was wrong, not the code
Arno3165229/CornerNet_Traffic_Light/capsulenet.py
code served (permissive licence) · get_code("5d7d6657a9bda8b0")
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
from torch import nn

torch.manual_seed(0)

batch_size = 2
num_classes = 4
channels = 3
width = 8
height = 8

y_true = torch.zeros(batch_size, num_classes)
y_true[0, 1] = 1.0
y_true[1, 2] = 1.0

y_pred = torch.tensor([
    [0.1, 0.8, 0.05, 0.05],
    [0.05, 0.1, 0.75, 0.1]
], dtype=torch.float32)

x = torch.randn(batch_size, channels, width, height)

x_recon = torch.randn(batch_size, channels, width, height)

lam_recon = 0.392

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "x": x,
    "x_recon": x_recon,
    "lam_recon": lam_recon,
}
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
clip_detections Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/sample/cornernet_saccade.py
code served (permissive licence) · get_code("c59dc8df02529bb7")
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. 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 numpy as np

# Create a border tuple (y0, y1, x0, x1)
border = (10, 100, 20, 150)

# Create a detections array with shape (num_detections, num_features)
# Each detection row has at least 4 elements: [x0, y0, x1, y1, ...]
# We'll create 3 detections with 5 features each (x0, y0, x1, y1, confidence)
detections = np.array([
    [25, 15, 80, 90, 0.95],
    [30, 20, 140, 95, 0.87],
    [5, 50, 15, 80, 0.92]
], dtype=np.float32)

ARGS = {
    "border": border,
    "detections": detections
}
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 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
clip_detections Ran
ran on a synthesized input
takooctopus/CornerNet-Lite-Tako/core/sample/cornernet_saccade.py
code served (permissive licence) · get_code("12b1c3d7659ccdbf")
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. 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 numpy as np

# Create a border definition: (y0, y1, x0, x1)
border = (10, 100, 20, 150)

# Create detections array with shape (num_detections, 5)
# Each detection has [x0, y0, x1, y1, confidence]
detections = np.array([
    [30, 20, 80, 90, 0.9],      # detection 1: valid (within border)
    [15, 15, 25, 25, 0.8],      # detection 2: partially out, but has area
    [5, 5, 8, 8, 0.7],          # detection 3: outside border, will be clipped to zero area
    [40, 40, 60, 70, 0.95],     # detection 4: valid
], dtype=np.float32)

ARGS = {
    "border": border,
    "detections": detections
}
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 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
cluster_method Ran
ran on a synthesized input
jason-su/UCGNet/custom/II_final_cluster.py
code served (permissive licence) · get_code("266fdbb0268ac59a")
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 int, shape (3, 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 cv2
import numpy as np
from sklearn.cluster import DBSCAN, KMeans

# Create a small synthetic image
image = np.ones((1000, 1000, 3), dtype=np.uint8) * 255

# Create synthetic clustered data points
# Several clusters of points that will be detected by DBSCAN
np.random.seed(0)
cluster1 = np.random.normal([200, 200], 20, (30, 2))
cluster2 = np.random.normal([500, 500], 20, (30, 2))
cluster3 = np.random.normal([800, 300], 20, (30, 2))
data = np.vstack([cluster1, cluster2, cluster3]).astype(np.int32)
data = np.clip(data, 0, 999)

# Parameters for cluster_method
idx = "_test_001.png"
out_cluster_path = "/tmp/"
w = 1000
h = 1000

ARGS = {
    "data": data,
    "image": image.copy(),
    "idx": idx,
    "out_cluster_path": out_cluster_path,
    "w": w,
    "h": h,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, sklearn — 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 int, shape (3, 4) — shape (3, 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
convert Ran
ran on a synthesized input
jason-su/UCGNet/custom/IV_2_xml2yolo.py
code served (permissive licence) · get_code("16418ec4775fb6fd")
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 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

torch.manual_seed(0)

# The function expects:
# - size: a tuple or list with at least 2 elements (width, height)
# - box: a tuple or list with at least 4 elements (x1, x2, y1, y2)

size = (640, 480)
box = (100, 200, 150, 250)

ARGS = {
    "size": size,
    "box": box
}
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 tuple, ndim 1, 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
dot_Visualization Ran
ran on a synthesized input
jason-su/UCGNet/custom/II_final_cluster.py
code served (permissive licence) · get_code("52e2b9065925a120")
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 3, dtype family int, shape (100, 80, 3) 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary directory for saving images
temp_dir = tempfile.mkdtemp()

# Create sample image data - a small RGB image (100x80x3)
img_data = np.random.randint(0, 256, (100, 80, 3), dtype=np.uint8)

# Create sample label data - list of (x, y) coordinates
lbl_data = [
    (10, 20),
    (50, 40),
    (75, 60),
    (30, 80)
]

# Save path with trailing slash
save_path = temp_dir + os.sep

# Index for the filename
idx = "test_image.png"

ARGS = {
    "img_data": img_data,
    "lbl_data": lbl_data,
    "save_path": save_path,
    "idx": idx
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (100, 80, 3) — shape (100, 80, 3) 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
draw_bboxes Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/vis_utils.py
code served (permissive licence) · get_code("53fce1a4f77b89a0")
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 3, dtype family int, shape (480, 640, 3) 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 cv2
import numpy as np

# Create a sample image (BGR format for OpenCV)
image = np.ones((480, 640, 3), dtype=np.uint8) * 255

# Create bounding boxes dictionary
# Each category has bounding boxes in format (x1, y1, x2, y2, score)
bboxes = {
    "person": np.array([
        [50, 100, 150, 250, 0.95],
        [200, 80, 350, 300, 0.45],
        [400, 120, 550, 400, 0.87]
    ], dtype=np.float32),
    "car": np.array([
        [10, 30, 200, 180, 0.92],
        [300, 200, 500, 350, 0.3]
    ], dtype=np.float32)
}

# Define colors for each category (BGR format)
colors = {
    "person": (0, 255, 0),  # Green
    "car": (255, 0, 0)      # Blue
}

ARGS = {
    "image": image,
    "bboxes": bboxes,
    "font_size": 0.5,
    "thresh": 0.5,
    "colors": colors
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (480, 640, 3) — shape (480, 640, 3) 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
draw_bboxes Ran
ran on a synthesized input
jason-su/UCGNet/custom/VIII_Visual.py
code served (permissive licence) · get_code("f6d6243a2f16050c")
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 3, dtype family int, shape (480, 640, 3) 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
import cv2

# Create a sample image (BGR format, as expected by cv2)
image = np.ones((480, 640, 3), dtype=np.uint8) * 255

# Create sample bboxes
# Each bbox: [x1, y1, x2, y2, confidence, class_id]
# Format: x1, y1 (top-left), x2, y2 (bottom-right), confidence score, class_id (1-indexed)
bboxes = [
    [50, 50, 150, 200, 0.9, 4],      # car with high confidence
    [200, 100, 350, 250, 0.3, 1],    # pedestrian with low confidence (will be filtered)
    [100, 300, 300, 450, 0.85, 2],   # bicycle with high confidence
]

ARGS = {
    "image": image,
    "bboxes": bboxes,
    "font_size": 0.5,
    "thresh": 0.5,
    "colors": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (480, 640, 3) — shape (480, 640, 3) 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
draw_bboxes Ran
ran on a synthesized input
takooctopus/CornerNet-Lite-Tako/core/vis_utils.py
code served (permissive licence) · get_code("d315cf6dc8591a0f")
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 3, 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 numpy as np
import cv2

# Create a small test image (100x100, 3 channels, uint8)
test_image = np.random.randint(0, 256, (100, 100, 3), dtype=np.uint8)

# Create bounding boxes dictionary
# Each category maps to a 2D array where each row is (x1, y1, x2, y2, score)
bboxes = {
    'person': np.array([
        [10, 10, 30, 40, 0.9],  # high confidence
        [50, 50, 20, 20, 0.3],  # low confidence (will be filtered if thresh=0.5)
    ], dtype=np.float32),
    'car': np.array([
        [20, 20, 50, 50, 0.85],
    ], dtype=np.float32),
}

# Optional parameters
font_size = 0.5
thresh = 0.5
colors = {
    'person': (255, 0, 0),  # Blue in BGR
    'car': (0, 255, 0),     # Green in BGR
}

ARGS = {
    'image': test_image,
    'bboxes': bboxes,
    'font_size': font_size,
    'thresh': thresh,
    'colors': colors,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int — no output shape is stated: observe_signature.py could not observe it (call:NameError)
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
format_label Ran
ran on a synthesized input
jason-su/UCGNet/custom/III_crop_visdrone.py
code served (permissive licence) · get_code("8208f342ced40efa")
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 int, shape (3, 8) 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 format_label takes txt_list as input
# It iterates through txt_list, splits each element by comma,
# takes the first 8 elements, converts them to int, and collects them
# So txt_list should be a list of strings where each string contains
# comma-separated integers

txt_list = [
    "1,2,3,4,5,6,7,8",
    "10,20,30,40,50,60,70,80",
    "100,200,300,400,500,600,700,800"
]

ARGS = {
    "txt_list": txt_list
}
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 int, shape (3, 8) — shape (3, 8) 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
init_parallel_jobs Ran
ran on a synthesized input
takooctopus/CornerNet-Lite-Tako/traindagm.py
code served (permissive licence) · get_code("715bd6c6d94fc031")
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 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
from torch.multiprocessing import Queue

# Stand-in classes for system_config, db, and data_aug
class SystemConfig:
    def __init__(self):
        self.batch_size = 2
        self.num_samples = 10

class Database:
    def __init__(self, db_id):
        self.db_id = db_id
        self.data = np.random.randn(10, 4)

class DataAugmentation:
    def __init__(self):
        self.enabled = True

# Sample data function that matches the signature used in prefetch_data
def sample_data_fn(system_config, db, ind, data_aug=None):
    """
    Returns a tuple of (data, next_ind).
    This mimics the expected behavior from the function call in prefetch_data.
    """
    batch_size = min(system_config.batch_size, len(db.data) - ind)
    if batch_size <= 0:
        ind = 0
        batch_size = min(system_config.batch_size, len(db.data))
    
    data = db.data[ind:ind + batch_size]
    next_ind = (ind + batch_size) % len(db.data)
    return data, next_ind

# Create instances
torch.manual_seed(0)
np.random.seed(0)

system_config = SystemConfig()
dbs = [Database(0), Database(1)]
queue = Queue()
fn = sample_data_fn
data_aug = DataAugmentation()

ARGS = {
    "system_config": system_config,
    "dbs": dbs,
    "queue": queue,
    "fn": fn,
    "data_aug": data_aug
}
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 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
load_cfg Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/base.py
code served (permissive licence) · get_code("c98d51db76f717db")
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 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 json
import tempfile
import os

# Create a temporary directory and config file
temp_dir = tempfile.mkdtemp()
cfg_file = os.path.join(temp_dir, 'config.json')

# Create a valid config file with 'system' and 'db' keys
config_data = {
    'system': {
        'name': 'test_system',
        'version': '1.0',
        'debug': False
    },
    'db': {
        'host': 'localhost',
        'port': 5432,
        'database': 'testdb'
    }
}

with open(cfg_file, 'w') as f:
    json.dump(config_data, f)

ARGS = {
    'cfg_file': cfg_file
}
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 tuple, ndim 1, 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
make_layer Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/models/CornerNet_Squeeze.py
code served (permissive licence) · get_code("7e951e1acd6861ce")
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 Sequential. 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)

ARGS = {
    "inp_dim": 16,
    "out_dim": 32,
    "modules": 3
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
make_pool_layer Ran
ran, honoured the contract we drafted
Arno3165229/CornerNet_Traffic_Light/core/models/CornerNet_Squeeze_traffic_light.py
code served (permissive licence) · get_code("c2515898895b1abb")
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 Sequential. 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)

# The function make_pool_layer takes a single parameter 'dim'
# Looking at the body, it simply returns nn.Sequential()
# So 'dim' should be an integer representing a dimension size

ARGS = {
    "dim": 4
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
make_square Ran
ran on a synthesized input
Arno3165229/CornerNet_Traffic_Light/capsulenet.py
code served (permissive licence) · get_code("1a49c2fd47493e3f")
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 3, dtype family int, shape (28, 28, 3) 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
import cv2

# Create a small test image
# Using a 3D array (height, width, channels) to test the function
img = np.random.randint(0, 256, size=(16, 20, 3), dtype=np.uint8)

# Define ARGS dict with all parameters
ARGS = {
    "img": img,
    "padColor": 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (28, 28, 3) — shape (28, 28, 3) 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
make_unpool_layer Ran
ran on a synthesized input
princeton-vl/CornerNet-Lite/core/models/CornerNet_Squeeze.py
code served (permissive licence) · get_code("da553b870518bd92")
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 ConvTranspose2d. 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)

ARGS = {
    "dim": 64
}
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 ConvTranspose2d — a ConvTranspose2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ConvTranspose2d 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
nms Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jason-su/UCGNet/custom/VI_NMS.py
code served (permissive licence) · get_code("7973ac6326951ada")
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 numpy as np

# Create sample detections: [x1, y1, x2, y2, score]
# Format: 5 columns for x1, y1, x2, y2, scores
dets = np.array([
    [10.0, 20.0, 50.0, 60.0, 0.9],
    [15.0, 25.0, 55.0, 65.0, 0.8],
    [100.0, 100.0, 150.0, 150.0, 0.85],
], dtype=np.float32)

thresh = 0.3

ARGS = {
    "dets": dets,
    "thresh": thresh,
}
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 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
readClipTxt Ran
ran on a synthesized input
jason-su/UCGNet/custom/V_merge_json.py
code served (permissive licence) · get_code("c153426da88dccd3")
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 numpy as np
import tempfile
import os

# Create a temporary text file with clip data
temp_dir = tempfile.mkdtemp()
txt_path = os.path.join(temp_dir, "clips.txt")

# Write sample data in the expected format
# Format: id,val1,val2,val3,val4
with open(txt_path, 'w') as f:
    f.write("1,10,20,30,40\n")
    f.write("2,50,60,70,80\n")
    f.write("3,100,110,120,130\n")

ARGS = {
    'txt_path': txt_path
}
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 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
squash Ran
ran; our contract draft was wrong, not the code
Arno3165229/CornerNet_Traffic_Light/capsulelayers.py
code served (permissive licence) · get_code("14c8e8b4bfa1bf08")
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 3, dtype family float, shape (2, 4, 3) 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 a small tensor for inputs
# Using shape (2, 4, 3) - batch of 2, with 4 vectors of dimension 3
inputs = torch.randn(2, 4, 3)

# axis parameter specifies which dimension to squash along
axis = -1

ARGS = {
    "inputs": inputs,
    "axis": axis
}
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 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) 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
cornernet Not yet run
unverified (harvested, no recorded run)
princeton-vl/CornerNet-Lite/core/sample/cornernet.py
code served (permissive licence) · get_code("37018977a90a808c")
How it ran

no invocation recorded.

crop_image_dets Not yet run
unverified (harvested, no recorded run)
princeton-vl/CornerNet-Lite/core/sample/cornernet_saccade.py
code served (permissive licence) · get_code("2032e5dc001bc848")
How it ran

no invocation recorded.

crop_image_dets Not yet run
unverified (harvested, no recorded run)
takooctopus/CornerNet-Lite-Tako/core/sample/cornernet_saccade.py
code served (permissive licence) · get_code("7ddc205848964f81")
How it ran

no invocation recorded.

load_nnet Not yet run
unverified (harvested, no recorded run)
princeton-vl/CornerNet-Lite/core/base.py
code served (permissive licence) · get_code("54abd86de92a09d9")
How it ran

no invocation recorded.

make_hg_layer Not yet run
unverified (harvested, no recorded run)
princeton-vl/CornerNet-Lite/core/models/CornerNet.py
code served (permissive licence) · get_code("8b9e0456b6d2f8e5")
How it ran

no invocation recorded.

print_detection_eval_metrics Not yet run
unverified (harvested, no recorded run)
jason-su/UCGNet/custom/VII_MAP.py
code served (permissive licence) · get_code("dee4e996bce1007b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 27 samples lifted from this paper's linked repositories, 27 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 1 later) and 21 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
make_pool_layer 3 other papers
2 dated earlier, 1 later
1808.01244 (2018-08)
CornerNet: Detecting Objects as Paired Keypoints
1901.08043 (2019-01)
Bottom-up Object Detection by Grouping Extreme and Center Points
2104.05269 (2021-04)
Glance and Gaze: Inferring Action-aware Points for One-Stage Human-Object Interaction Detection
nms 2 other papers
1 dated earlier, 1 the same month
1708.02002 (2017-08)
Focal Loss for Dense Object Detection
1904.01355 (2019-04)
FCOS: Fully Convolutional One-Stage Object Detection
squash 2 other papers
2 dated earlier
1406.2661 (2014-06)
Generative Adversarial Networks
1710.09829 (2017-10)
Dynamic Routing Between Capsules
caps_loss 1 other paper
1 dated earlier
1710.09829 (2017-10)
Dynamic Routing Between Capsules

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

Keypoint-based methods are a relatively new paradigm in object detection, eliminating the need for anchor boxes and offering a simplified detection framework. Keypoint-based CornerNet achieves state of the art accuracy among single-stage detectors. However, this accuracy comes at high processing cost. In this work, we tackle the problem of efficient keypoint-based object detection and introduce CornerNet-Lite. CornerNet-Lite is a combination of two efficient variants of CornerNet: CornerNet-Saccade, which uses an attention mechanism to eliminate the need for exhaustively processing all pixels of the image, and CornerNet-Squeeze, which introduces a new compact backbone architecture. Together these two variants address the two critical use cases in efficient object detection: improving efficiency without sacrificing accuracy, and improving accuracy at real-time efficiency. CornerNet-Saccade is suitable for offline processing, improving the efficiency of CornerNet by 6.0x and the AP by 1.0% on COCO. CornerNet-Squeeze is suitable for real-time detection, improving both the efficiency and accuracy of the popular real-time detector YOLOv3 (34.4% AP at 30ms for CornerNet-Squeeze compared to 33.0% AP at 39ms for YOLOv3 on COCO). Together these contributions for the first time reveal the potential of keypoint-based detection to be useful for applications requiring processing efficiency.

For agents

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

get_harvested_code_for_paper("1904.08900")
get_code_for_paper("1904.08900")
have("1904.08900")

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

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

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

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

Connect an agent — have() is free.