SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.07944 · 2020

Cityscapes-Panoptic-Parts and PASCAL-Panoptic-Parts datasets for Scene Understanding

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 3 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/2004.07944.json · badge: /api/ran/2004.07944.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
pmeletis/panoptic_parts canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
chufengt/Visual-Recognition-by-Request community (classifier label)
classifier basis not recorded on the link
1 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_ctrness_targets Ran
ran on a synthesized input
chufengt/Visual-Recognition-by-Request/instance-segmentation/adet/modeling/fcos_by_request/fcos_outputs.py
code served (permissive licence) · get_code("8d7cbe4060a772e1")
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

torch.manual_seed(0)

# reg_targets should be a tensor with shape (batch_size, 4)
# representing regression targets [left, top, right, bottom]
# The function expects at least 2D tensor with 4 values per sample
reg_targets = torch.tensor([
    [1.0, 2.0, 3.0, 4.0],
    [0.5, 1.5, 2.5, 3.5]
], dtype=torch.float32)

ARGS = {
    "reg_targets": reg_targets
}
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 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
filepaths_pairs_fn_OLD Ran
ran; our contract draft was wrong, not the code
pmeletis/panoptic_parts/panoptic_parts/evaluation/eval_PartPQ.py
code served (permissive licence) · get_code("c6704fa8b1518821")
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 os
import tempfile
import glob

# Create temporary directories and files for testing
tmpdir_gt = tempfile.mkdtemp()
tmpdir_pred = tempfile.mkdtemp()

# Set up for Cityscapes Panoptic Parts dataset structure
# Create subdirectories and files matching the expected pattern
cityscapes_subdir = os.path.join(tmpdir_gt, 'frankfurt')
os.makedirs(cityscapes_subdir, exist_ok=True)

# Create a ground truth file with the expected naming pattern
# Pattern: *_gtFine_panopticIds.tif (23 characters at end)
gt_filename_cityscapes = 'frankfurt_000000_000019_gtFine_panopticIds.tif'
gt_filepath_cityscapes = os.path.join(cityscapes_subdir, gt_filename_cityscapes)
with open(gt_filepath_cityscapes, 'w') as f:
    f.write('dummy')

# Create corresponding prediction file
pred_filename_cityscapes = 'frankfurt_000000_000019_gtFine_leftImg8bit.png'
pred_filepath_cityscapes = os.path.join(tmpdir_pred, pred_filename_cityscapes)
with open(pred_filepath_cityscapes, 'w') as f:
    f.write('dummy')

# Set up for PASCAL Panoptic Parts dataset structure
# Create ground truth file with .tif extension
gt_filename_pascal = '2010_000002_gtFine_panopticIds.tif'
gt_filepath_pascal = os.path.join(tmpdir_gt, gt_filename_pascal)
with open(gt_filepath_pascal, 'w') as f:
    f.write('dummy')

# Create corresponding prediction file
pred_filename_pascal = '2010_000002.png'
pred_filepath_pascal = os.path.join(tmpdir_pred, pred_filename_pascal)
with open(pred_filepath_pascal, 'w') as f:
    f.write('dummy')

# Test with Cityscapes
ARGS = {
    'dst_name': 'Cityscapes Panoptic Parts',
    'basepath_gt': tmpdir_gt,
    'basepath_pred': tmpdir_pred,
}
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, 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
pred_reader_fn Ran
ran, honoured the contract we drafted
pmeletis/panoptic_parts/panoptic_parts/evaluation/eval_PartPQ.py
code served (permissive licence) · get_code("8e9c1d96b586dcc6")
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 tuple, 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
from PIL import Image
import tempfile
import os

# Create a temporary 3-channel image file in the format expected by pred_reader_fn
# The function expects a 3-channel image where:
# - Channel 0: pan_classes
# - Channel 1: pan_inst_ids
# - Channel 2: parts_output

# Create a small 4x3 image with 3 channels
height, width = 4, 3
pan_classes_data = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]], dtype=np.int32)
pan_inst_ids_data = np.array([[10, 20, 30], [40, 50, 60], [70, 80, 90], [100, 110, 120]], dtype=np.int32)
parts_output_data = np.array([[100, 101, 102], [103, 104, 105], [106, 107, 108], [109, 110, 111]], dtype=np.int32)

# Stack into a 3-channel image
image_array = np.stack([pan_classes_data, pan_inst_ids_data, parts_output_data], axis=-1)

# Convert to uint8 for PIL (will be read back as int32 by the function)
image_array_uint8 = image_array.astype(np.uint8)

# Create a temporary file
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, "test_pred_image.png")

# Save the image
img = Image.fromarray(image_array_uint8, mode='RGB')
img.save(temp_file)

# Define ARGS with the filepath
ARGS = {
    "fp_pred": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family int — 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
patch_ProposalNetwork Not yet run
unverified (harvested, no recorded run)
chufengt/Visual-Recognition-by-Request/instance-segmentation/onnx/export_model_to_onnx.py
code served (permissive licence) · get_code("908ea6d774830de1")
How it ran

no invocation recorded.

patch_blendmask Not yet run
unverified (harvested, no recorded run)
chufengt/Visual-Recognition-by-Request/instance-segmentation/onnx/export_model_to_onnx.py
code served (permissive licence) · get_code("8e78a0e420b48e9a")
How it ran

no invocation recorded.

patch_condinst Not yet run
unverified (harvested, no recorded run)
chufengt/Visual-Recognition-by-Request/instance-segmentation/onnx/export_model_to_onnx.py
code served (permissive licence) · get_code("36c4086272a9e7f4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 0 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
patch_ProposalNetwork 2 other papers
2 later
2207.14227 (2022-07)
Visual Recognition by Request
2303.15062 (2023-03)
The Devil is in the Points: Weakly Semi-Supervised Instance Segmentation via Point-Guided Mask Representation
patch_blendmask 2 other papers
2 later
2207.14227 (2022-07)
Visual Recognition by Request
2303.15062 (2023-03)
The Devil is in the Points: Weakly Semi-Supervised Instance Segmentation via Point-Guided Mask Representation
patch_condinst 2 other papers
2 later
2207.14227 (2022-07)
Visual Recognition by Request
2303.15062 (2023-03)
The Devil is in the Points: Weakly Semi-Supervised Instance Segmentation via Point-Guided Mask Representation
compute_ctrness_targets 1 other paper
1 later
2108.06417 (2021-08)
Is Pseudo-Lidar needed for Monocular 3D Object detection?
filepaths_pairs_fn_OLD 1 other paper
1 later
2106.06351 (2021-06)
Part-aware Panoptic Segmentation
pred_reader_fn 1 other paper
1 later
2106.06351 (2021-06)
Part-aware Panoptic Segmentation

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

In this technical report, we present two novel datasets for image scene understanding. Both datasets have annotations compatible with panoptic segmentation and additionally they have part-level labels for selected semantic classes. This report describes the format of the two datasets, the annotation protocols, the merging strategies, and presents the datasets statistics. The datasets labels together with code for processing and visualization will be published at https://github.com/tue-mps/panoptic_parts.

For agents

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

get_harvested_code_for_paper("2004.07944")
get_code_for_paper("2004.07944")
have("2004.07944")

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

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

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

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

Connect an agent — have() is free.