SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.08193 · 2019

PointRend: Image Segmentation as Rendering

arXiv · PDF · Open in the Atlas

Code that ran

16 of 18 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, 1 violated it and 6 have no contract verdict; 8 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/1912.08193.json · badge: /api/ran/1912.08193.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
CuberrChen/PointRend-Paddle community (classifier label)
classifier basis not recorded on the link
8 ran · 0 no recorded run
ayoolaolafenwa/PixelLib community (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
JamesQFreeman/PointRend reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_backbone_shapes Ran
ran; our contract draft was wrong, not the code
ayoolaolafenwa/PixelLib/pixellib/instance/mask_rcnn.py
code served (permissive licence) · get_code("18ea12b2eeecd592")
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 (5, 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 math
import numpy as np

class Config:
    def __init__(self, backbone, strides, compute_fn=None):
        self.BACKBONE = backbone
        self.BACKBONE_STRIDES = strides
        self.COMPUTE_BACKBONE_SHAPE = compute_fn

# Test case 1: resnet50 with default strides
config_resnet = Config(
    backbone='resnet50',
    strides=[4, 8, 16, 32, 64]
)

image_shape = (224, 256)

ARGS = {
    'config': config_resnet,
    'image_shape': image_shape
}
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 (5, 2) — shape (5, 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
compute_iou Ran
ran, violated the contract we drafted
ayoolaolafenwa/PixelLib/pixellib/instance/utils.py
code served (permissive licence) · get_code("64403fb78c59e685")
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 test data for compute_iou function
# box: 1D vector [y1, x1, y2, x2]
box = np.array([10.0, 20.0, 30.0, 40.0])

# boxes: [boxes_count, (y1, x1, y2, x2)]
boxes = np.array([
    [12.0, 22.0, 28.0, 38.0],
    [5.0, 15.0, 35.0, 45.0]
])

# box_area: float - area of the single box
# Area = (y2 - y1) * (x2 - x1) = (30 - 10) * (40 - 20) = 20 * 20 = 400
box_area = 400.0

# boxes_area: array of length boxes_count
# First box area: (28 - 12) * (38 - 22) = 16 * 16 = 256
# Second box area: (35 - 5) * (45 - 15) = 30 * 30 = 900
boxes_area = np.array([256.0, 900.0])

ARGS = {
    "box": box,
    "boxes": boxes,
    "box_area": box_area,
    "boxes_area": boxes_area
}
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
compute_overlaps Ran
ran, honoured the contract we drafted
ayoolaolafenwa/PixelLib/pixellib/instance/utils.py
code served (permissive licence) · get_code("8ee1bf912c0d3692")
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 float, shape (3, 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 sample bounding boxes in format [y1, x1, y2, x2]
# boxes1: 3 boxes
boxes1 = np.array([
    [10, 20, 50, 60],
    [15, 25, 55, 65],
    [5, 10, 40, 50]
], dtype=np.float32)

# boxes2: 2 boxes
boxes2 = np.array([
    [12, 22, 48, 62],
    [20, 30, 60, 70]
], dtype=np.float32)

ARGS = {
    "boxes1": boxes1,
    "boxes2": boxes2
}
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 float, shape (3, 2) — shape (3, 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
conv_block Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ayoolaolafenwa/PixelLib/pixellib/instance/mask_rcnn.py
code served (permissive licence) · get_code("0c9b8c863cf414f7")
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 KerasTensor. 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 tensorflow as tf
import tensorflow.keras.layers as KL
import numpy as np

# Create a small input tensor with shape (batch_size, height, width, channels)
# Using batch=2, spatial dims=4x3, channels=2
input_tensor = tf.keras.Input(shape=(4, 3, 2), batch_size=2)

# Define arguments for conv_block
ARGS = {
    'input_tensor': input_tensor,
    'kernel_size': 3,
    'filters': [8, 16, 32],  # Three filters for the three conv layers in main path
    'stage': 2,
    'block': 'a',
    'strides': (2, 2),
    'use_bias': True,
    'train_bn': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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
convert_basic_c2_names Ran
ran; our contract draft was wrong, not the code
ayoolaolafenwa/PixelLib/pixellib/torchbackend/instance/checkpoint/c2_model_loading.py
code served (permissive licence) · get_code("e8526a516b4f9206")
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 copy
import re

# Analyze the function: it takes a list of strings (original_keys) and applies
# various string transformations to them. It doesn't use any complex objects,
# just list operations and string manipulations.

ARGS = {
    'original_keys': [
        'pred_b',
        'pred_w',
        'conv_b',
        'conv_w',
        'bn_s',
        'bn_bias',
        'bn_rm',
        'bn_riv',
        'bn_gamma',
        'bn_beta',
        'gn_s',
        'gn_bias',
        'res_conv1_norm_weight',
        'conv1_weight',
        'layer_branch1_weight',
        'layer_branch2a_bias',
        'layer_branch2b_weight',
        'layer_branch2c_bias',
        'body_conv_fcn_weight',
        'AnnIndex_lowres',
        'Index_UV_lowres',
        'U_lowres',
        'V_lowres',
    ]
}
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 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
convert_c2_detectron_names Ran
ran; our contract draft was wrong, not the code
ayoolaolafenwa/PixelLib/pixellib/torchbackend/instance/checkpoint/c2_model_loading.py
code served (permissive licence) · get_code("e36f87059208bb7e")
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 copy
import logging
import re
import torch

torch.manual_seed(0)

# Create a small dictionary of weights simulating Caffe2 model weights
weights = {
    'conv1_w': torch.randn(3, 3, 3, 3),
    'conv1_b': torch.randn(3),
    'res_conv1_norm_s': torch.randn(3),
    'res_conv1_norm_bias': torch.randn(3),
    'res2_0_branch1_w': torch.randn(4, 3, 1, 1),
    'res2_0_branch1_b': torch.randn(4),
    'res2_0_branch2a_w': torch.randn(4, 3, 3, 3),
    'res2_0_branch2a_b': torch.randn(4),
    'res2_0_branch2b_w': torch.randn(4, 4, 3, 3),
    'res2_0_branch2b_b': torch.randn(4),
    'res2_0_branch2c_w': torch.randn(8, 4, 1, 1),
    'res2_0_branch2c_b': torch.randn(8),
    'bn_s': torch.randn(3),
    'bn_bias': torch.randn(3),
    'bn_rm': torch.randn(3),
    'bn_riv': torch.randn(3),
    'pred_w': torch.randn(10, 8),
    'pred_b': torch.randn(10),
    'fpn_inner_res2_2_sum_lateral_w': torch.randn(4, 8, 1, 1),
    'fpn_inner_res2_2_sum_lateral_b': torch.randn(4),
    'fpn_res2_2_sum_w': torch.randn(4, 4, 3, 3),
    'fpn_res2_2_sum_b': torch.randn(4),
    'rpn_cls_logits_w': torch.randn(3, 4, 3, 3),
    'rpn_cls_logits_b': torch.randn(3),
    'rpn_bbox_pred_w': torch.randn(12, 4, 3, 3),
    'rpn_bbox_pred_b': torch.randn(12),
    'fc6_w': torch.randn(16, 8),
    'fc6_b': torch.randn(16),
    'fc7_w': torch.randn(16, 16),
    'fc7_b': torch.randn(16),
}

ARGS = {
    'weights': weights,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
extract_bboxes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ayoolaolafenwa/PixelLib/pixellib/instance/utils.py
code served (permissive licence) · get_code("75499b9fb42b31f7")
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 numpy as np

# Create a simple mask array with shape (height, width, num_instances)
# height=5, width=6, num_instances=3
mask = np.zeros((5, 6, 3), dtype=np.uint8)

# Instance 0: create a small bounding box region
mask[1:3, 1:4, 0] = 1

# Instance 1: create another bounding box region
mask[2:5, 3:6, 1] = 1

# Instance 2: create a single pixel region
mask[0:2, 0:2, 2] = 1

ARGS = {
    "mask": mask
}
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, 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
flip_combination Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/paddleseg/core/infer.py
code served (permissive licence) · get_code("95bccf5957a196e4")
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 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.

# Setup code for flip_combination function

ARGS = {
    "flip_horizontal": False,
    "flip_vertical": False,
}
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 list, ndim 2, 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
get_color_map_list Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/utils/gray2pseudo_color.py
code served (permissive licence) · get_code("4a169e8f6527333b")
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

torch.manual_seed(0)

# The function get_color_map_list takes a single parameter:
# num_classes (int): Number of classes
# 
# Looking at the function body:
# - It increments num_classes by 1
# - Creates a list of size (num_classes + 1) * 3 initialized with zeros
# - Iterates through range(0, num_classes + 1)
# - Performs bitwise operations on list elements
# - Returns a slice of the color_map list
#
# The function only needs an integer, so we just need to provide
# a reasonable number of classes for a segmentation task.

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_files Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/utils/create_dataset_list.py
code served (permissive licence) · get_code("10c053391f452886")
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 tempfile
import os

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()

# Create the necessary folder structure
image_folder = os.path.join(temp_dir, "images")
label_folder = os.path.join(temp_dir, "labels")
for split in ["train", "val"]:
    os.makedirs(os.path.join(image_folder, split), exist_ok=True)
    os.makedirs(os.path.join(label_folder, split), exist_ok=True)

# Create some dummy files to be found by glob
open(os.path.join(image_folder, "train", "image_001.jpg"), "w").close()
open(os.path.join(image_folder, "train", "image_002.jpg"), "w").close()
open(os.path.join(label_folder, "train", "image_001.png"), "w").close()
open(os.path.join(label_folder, "train", "image_002.png"), "w").close()

# Create nested directory structures to test multi-level wildcards
os.makedirs(os.path.join(image_folder, "train", "subdir1"), exist_ok=True)
open(os.path.join(image_folder, "train", "subdir1", "image_003.jpg"), "w").close()

os.makedirs(os.path.join(label_folder, "train", "subdir1", "subdir2"), exist_ok=True)
open(os.path.join(label_folder, "train", "subdir1", "subdir2", "image_003.png"), "w").close()

# Create args object as a simple class with required attributes
class Args:
    def __init__(self, dataset_root, postfix, format, folder):
        self.dataset_root = dataset_root
        self.postfix = postfix
        self.format = format
        self.folder = folder

ARGS = {
    "image_or_label": "image",
    "dataset_split": "train",
    "args": Args(
        dataset_root=temp_dir,
        postfix={"image": "", "label": ""},
        format={"image": "jpg", "label": "png"},
        folder={"image": "images", "label": "labels"}
    )
}
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 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
get_image_list Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/predict.py
code served (permissive licence) · get_code("c8f710d7401e0006")
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 os
import tempfile
import shutil

# Create a temporary directory with test images
temp_dir = tempfile.mkdtemp()

# Create a few test image files
test_image_path1 = os.path.join(temp_dir, "image1.jpg")
test_image_path2 = os.path.join(temp_dir, "image2.png")
with open(test_image_path1, 'w') as f:
    f.write("dummy image content")
with open(test_image_path2, 'w') as f:
    f.write("dummy image content")

# Test with directory path
image_path_dir = temp_dir

ARGS = {
    "image_path": image_path_dir
}
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 — 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
get_reverse_list Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/paddleseg/core/infer.py
code served (permissive licence) · get_code("026fee631ce4a66c")
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. 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 numpy as np


class Resize:
    def __init__(self, target_size):
        self.target_size = target_size


class ResizeByLong:
    def __init__(self, long_size):
        self.long_size = long_size


class Padding:
    def __init__(self, target_size):
        self.target_size = target_size


class PaddingByAspectRatio:
    def __init__(self, aspect_ratio):
        self.aspect_ratio = aspect_ratio


class LimitLong:
    def __init__(self, max_long=None, min_long=None):
        self.max_long = max_long
        self.min_long = min_long


ARGS = {
    "ori_shape": [480, 640],
    "transforms": [
        Resize((256, 256)),
        ResizeByLong(512),
        Padding((512, 512)),
        PaddingByAspectRatio(1.5),
        LimitLong(max_long=1024, min_long=256),
    ]
}
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 — a list 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
get_test_config Ran
ran; our contract draft was wrong, not the code
CuberrChen/PointRend-Paddle/val.py
code served (permissive licence) · get_code("20eb3e6b0aba73e4")
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 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 torch
import numpy as np

class SimpleArgs:
    def __init__(self):
        self.aug_eval = True
        self.scales = [0.5, 1.0, 1.5]
        self.flip_horizontal = True
        self.flip_vertical = False
        self.is_slide = True
        self.crop_size = 512
        self.stride = 256

class SimpleConfig:
    def __init__(self):
        self.test_config = {
            'aug_eval': False,
            'scales': [1.0],
            'flip_horizontal': False,
            'flip_vertical': False,
            'is_slide': False,
            'crop_size': 256,
            'stride': 128
        }

cfg = SimpleConfig()
args = SimpleArgs()

ARGS = {
    'cfg': cfg,
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — 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
get_test_config Ran
ran on a synthesized input
CuberrChen/PointRend-Paddle/predict.py
code served (permissive licence) · get_code("32d2a7cc8725e25e")
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 torch
import numpy as np

torch.manual_seed(0)

# Stand-in class for cfg parameter
class Config:
    def __init__(self):
        self.test_config = {
            'model': 'resnet50',
            'batch_size': 8,
            'num_workers': 4
        }

# Stand-in class for args parameter
class Args:
    def __init__(self):
        self.aug_pred = True
        self.scales = [0.5, 1.0, 1.5]
        self.flip_horizontal = True
        self.flip_vertical = False
        self.is_slide = True
        self.crop_size = 512
        self.stride = 256

ARGS = {
    'cfg': Config(),
    'args': Args()
}
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 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
getpoint Ran
ran; our contract draft was wrong, not the code
JamesQFreeman/PointRend/pointGenerate.py
code served (permissive licence) · get_code("1fe9d10d9e769de8")
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 list, 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 numpy as np

# Create a small mask image (4x3 to have distinct dimensions)
mask_img = np.array([
    [0, 1, 0],
    [1, 1, 1],
    [0, 1, 0],
    [1, 0, 1]
], dtype=np.float32)

ARGS = {
    'mask_img': mask_img,
    'k': 2,
    'beta': 0.5,
    'training': True,
    'nearest_neighbor': 3,
    'new_if_near': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, 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
partition_list Ran
ran; our contract draft was wrong, not the code
CuberrChen/PointRend-Paddle/paddleseg/core/predict.py
code served (permissive licence) · get_code("2f75a098ce9f7b0e")
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 list. 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 math

def partition_list(arr, m):
    """split the list 'arr' into m pieces"""
    n = int(math.ceil(len(arr) / float(m)))
    return [arr[i:i + n] for i in range(0, len(arr), n)]

# Setup code
arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
m = 3

ARGS = {
    "arr": arr,
    "m": m
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 list — a list 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
align_and_update_state_dicts Not yet run
unverified (harvested, no recorded run)
ayoolaolafenwa/PixelLib/pixellib/torchbackend/instance/checkpoint/c2_model_loading.py
code served (permissive licence) · get_code("ac2638463572c152")
How it ran

no invocation recorded.

identity_block Not yet run
unverified (harvested, no recorded run)
ayoolaolafenwa/PixelLib/pixellib/instance/mask_rcnn.py
code served (permissive licence) · get_code("4ea5e920502e7ce7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 15 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 0 the same month, 10 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
convert_basic_c2_names 45 other papers
5 dated earlier, 40 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 42 more not named here
align_and_update_state_dicts 13 other papers
13 later
Zhong_RegionCLIP_Region-Based_Language-Image_Pretraining_CVPR_2022_paper (2022 (year only))
RegionCLIP: Region-based Language-Image Pretraining
2211.09808 (2022-11)
Uni-Perceiver v2: A Generalist Model for Large-Scale Vision and Vision-Language Tasks
and 10 more not named here
convert_c2_detectron_names 13 other papers
13 later
Zhong_RegionCLIP_Region-Based_Language-Image_Pretraining_CVPR_2022_paper (2022 (year only))
RegionCLIP: Region-based Language-Image Pretraining
2211.09808 (2022-11)
Uni-Perceiver v2: A Generalist Model for Large-Scale Vision and Vision-Language Tasks
and 10 more not named here
compute_backbone_shapes 10 other papers
5 dated earlier, 5 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 7 more not named here
compute_iou 9 other papers
5 dated earlier, 4 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 6 more not named here
compute_overlaps 9 other papers
5 dated earlier, 4 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 6 more not named here
extract_bboxes 9 other papers
5 dated earlier, 4 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 6 more not named here
conv_block 8 other papers
3 dated earlier, 5 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 5 more not named here
identity_block 8 other papers
3 dated earlier, 5 later
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1702.01983 (2017-02)
Face Aging With Conditional Generative Adversarial Networks
and 5 more not named here
partition_list 8 other papers
7 dated earlier, 1 later
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
and 5 more not named here
flip_combination 7 other papers
7 dated earlier
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
and 4 more not named here
get_test_config 6 other papers
6 dated earlier
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
and 3 more not named here
get_reverse_list 4 other papers
4 dated earlier
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
1811.11431 (2018-11)
ESPNetv2: A Light-weight, Power Efficient, and General Purpose Convolutional Neural Network
and 1 more not named here
get_image_list 3 other papers
3 dated earlier
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
1901.02446 (2019-01)
Panoptic Feature Pyramid Networks
get_test_config 3 other papers
3 dated earlier
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
1901.02446 (2019-01)
Panoptic Feature Pyramid 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

We present a new method for efficient high-quality image segmentation of objects and scenes. By analogizing classical computer graphics methods for efficient rendering with over- and undersampling challenges faced in pixel labeling tasks, we develop a unique perspective of image segmentation as a rendering problem. From this vantage, we present the PointRend (Point-based Rendering) neural network module: a module that performs point-based segmentation predictions at adaptively selected locations based on an iterative subdivision algorithm. PointRend can be flexibly applied to both instance and semantic segmentation tasks by building on top of existing state-of-the-art models. While many concrete implementations of the general idea are possible, we show that a simple design already achieves excellent results. Qualitatively, PointRend outputs crisp object boundaries in regions that are over-smoothed by previous methods. Quantitatively, PointRend yields significant gains on COCO and Cityscapes, for both instance and semantic segmentation. PointRend's efficiency enables output resolutions that are otherwise impractical in terms of memory or computation compared to existing approaches. Code has been made available at https://github.com/facebookresearch/detectron2/tree/master/projects/PointRend.

For agents

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

get_harvested_code_for_paper("1912.08193")
get_code_for_paper("1912.08193")
have("1912.08193")

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

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

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

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

Connect an agent — have() is free.