SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1902.09658 · 2019

Detecting Lesion Bounding Ellipses With Gaussian Proposal Networks

arXiv · PDF · Open in the Atlas

Code that ran

1 of 14 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 1 has no contract verdict; 0 failures of our instrument; 13 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1902.09658.json · badge: /api/ran/1902.09658.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
baidu-research/GPN canonical (classifier label)
classifier basis: census
1 ran · 13 no recorded run
FunctionStatusWhere it lives
ellipse_mask Ran
ran on a synthesized input
baidu-research/GPN/model/ellipse_transform.py
code served (permissive licence) · get_code("9fd77ce8a3bb0b44")
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 (100, 120, 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 ellipses tensor: (N, 8) where N=2
# Each ellipse has 8 coordinates representing two endpoints of major and minor axes
ellipses = torch.tensor([
    [10.0, 20.0, 30.0, 40.0, 15.0, 25.0, 25.0, 35.0],
    [50.0, 60.0, 70.0, 80.0, 55.0, 65.0, 65.0, 75.0]
], dtype=torch.float32)

# Image dimensions as (width, height) tuple
im_info = (100, 120)

ARGS = {
    "ellipses": ellipses,
    "im_info": im_info
}
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 3, dtype family float, shape (100, 120, 2) — shape (100, 120, 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
acc Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/functional.py
code served (permissive licence) · get_code("4b5643e8fbb8d649")
How it ran

no invocation recorded.

bbox_overlaps Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/bbox_transform.py
code served (permissive licence) · get_code("7b01de75cb0236fc")
How it ran

no invocation recorded.

bbox_overlaps_batch Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/bbox_transform.py
code served (permissive licence) · get_code("d8b0901979d57704")
How it ran

no invocation recorded.

bbox_transform Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/bbox_transform.py
code served (permissive licence) · get_code("7c90a3dd48cdeb6f")
How it ran

no invocation recorded.

ellipse2box Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/ellipse_transform.py
code served (permissive licence) · get_code("331acf7ace1f5fb9")
How it ran

no invocation recorded.

ellipse_overlaps Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/ellipse_transform.py
code served (permissive licence) · get_code("8a06d368afbb491f")
How it ran

no invocation recorded.

generate_anchors Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/generate_anchor.py
code served (permissive licence) · get_code("9c93db35eee3812e")
How it ran

no invocation recorded.

img_acc Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/utils.py
code served (permissive licence) · get_code("bed13a70dd73a639")
How it ran

no invocation recorded.

iou Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/utils.py
code served (permissive licence) · get_code("31c3318155a97a39")
How it ran

no invocation recorded.

lr_schedule Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/utils.py
code served (permissive licence) · get_code("97030ff0abd7504d")
How it ran

no invocation recorded.

make_layers Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/base/vgg16.py
code served (permissive licence) · get_code("283c6f9935ab539d")
How it ran

no invocation recorded.

n_proposals Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/functional.py
code served (permissive licence) · get_code("54fb81ed619ec9c9")
How it ran

no invocation recorded.

nms Not yet run
unverified (harvested, no recorded run)
baidu-research/GPN/model/functional.py
code served (permissive licence) · get_code("ee58156cd703f947")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 12 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_layers 59 other papers
7 dated earlier, 52 later
1411.4038 (2014-11)
Fully Convolutional Networks for Semantic Segmentation
1511.00561 (2015-11)
SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation
1511.05950 (2015-11)
Staleness-aware Async-SGD for Distributed Deep Learning
and 56 more not named here
generate_anchors 4 other papers
2 dated earlier, 1 the same month, 1 later
1506.01497 (2015-06)
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
1612.03144 (2016-12)
Feature Pyramid Networks for Object Detection
1902.10200 (2019-02)
Differentiable Scene Graphs
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

Lesions characterized by computed tomography (CT) scans, are arguably often elliptical objects. However, current lesion detection systems are predominantly adopted from the popular Region Proposal Networks (RPNs) that only propose bounding boxes without fully leveraging the elliptical geometry of lesions. In this paper, we present Gaussian Proposal Networks (GPNs), a novel extension to RPNs, to detect lesion bounding ellipses. Instead of directly regressing the rotation angle of the ellipse as the common practice, GPN represents bounding ellipses as 2D Gaussian distributions on the image plain and minimizes the Kullback-Leibler (KL) divergence between the proposed Gaussian and the ground truth Gaussian for object localization. We show the KL divergence loss approximately incarnates the regression loss in the RPN framework when the rotation angle is 0. Experiments on the DeepLesion dataset show that GPN significantly outperforms RPN for lesion bounding ellipse detection thanks to lower localization error. GPN is open sourced at https://github.com/baidu-research/GPN

For agents

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

get_harvested_code_for_paper("1902.09658")
get_code_for_paper("1902.09658")
have("1902.09658")

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

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

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

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

Connect an agent — have() is free.