SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.00468 · CVPR · 2022

PanopticDepth: A Unified Framework for Depth-aware Panoptic Segmentation

Kaiqi Huang, Fei He, Haoyang Zhang, Naiyu Gao, Jian Jia, Yanhu Shan, Xin Zhao

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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 2 have no contract verdict; 5 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/2206.00468.json · badge: /api/ran/2206.00468.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
NaiyuGao/PanopticDepth canonical (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
FunctionStatusWhere it lives
eval Ran
ran on a synthesized input
NaiyuGao/PanopticDepth/projects/PanopticDepth/evaluation/eval_cityscapes_dvpq.py
code served (permissive licence) · get_code("f47224117d4e94a6")
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
from PIL import Image
import tempfile
import os

# Create temporary directories for pred_dir and gt_dir
pred_dir = tempfile.mkdtemp()
gt_dir = tempfile.mkdtemp()

# Create small dummy image files for predictions
# Predictions are RGB images where R=category, G=instance
pred_height, pred_width = 8, 8
for i in range(6):
    pred_img = np.zeros((pred_height, pred_width, 3), dtype=np.uint8)
    pred_img[:, :, 0] = np.random.randint(0, 20, (pred_height, pred_width))  # category channel
    pred_img[:, :, 1] = np.random.randint(0, 50, (pred_height, pred_width))   # instance channel
    Image.fromarray(pred_img).save(os.path.join(pred_dir, f"pred_{i}.png"))

# Create small dummy image files for ground truth
# GT images are single-channel where value = category * 1000 + instance
for i in range(6):
    gt_img = np.zeros((pred_height, pred_width), dtype=np.uint32)
    # Create some GT instances with valid categories (0-19)
    gt_cat = np.random.randint(0, 19, (pred_height, pred_width))
    gt_ins = np.random.randint(0, 50, (pred_height, pred_width))
    gt_img = gt_cat * 1000 + gt_ins
    Image.fromarray(gt_img.astype(np.uint32)).save(os.path.join(gt_dir, f"gt_{i}_instanceTrainIds.png"))

# Create depth prediction and ground truth images
for i in range(6):
    depth_pred = np.random.randint(1, 255, (pred_height, pred_width), dtype=np.uint8)
    Image.fromarray(depth_pred).save(os.path.join(pred_dir, f"depth_pred_{i}.png"))
    
    depth_gt = np.random.randint(1, 255, (pred_height, pred_width), dtype=np.uint8)
    Image.fromarray(depth_gt).save(os.path.join(gt_dir, f"depth_gt_{i}.png"))

# Build arguments for eval function
preds = [f"pred_{i}.png" for i in range(6)]
gts = [f"gt_{i}_instanceTrainIds.png" for i in range(6)]
depth_preds = [f"depth_pred_{i}.png" for i in range(6)]
depth_gts = [f"depth_gt_{i}.png" for i in range(6)]
depth_thres = 0.1
eval_frames = 2
num_frames = 6

ARGS = {
    "element": (
        preds,
        gts,
        depth_preds,
        depth_gts,
        depth_thres,
        eval_frames,
        gt_dir,
        pred_dir
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, six — 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
gather_feature Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
NaiyuGao/PanopticDepth/projects/PanopticDepth/panoptic_depth/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jwh97nn/DeepDPS, is pointer only (licence: NONE) · get_code("e7fc07c30373e482")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jwh97nn/DeepDPS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_sequence Ran
ran; our contract draft was wrong, not the code
NaiyuGao/PanopticDepth/projects/PanopticDepth/evaluation/eval_cityscapes_dvpq.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from joe-siyuan-qiao/ViP-DeepLab, is pointer only (licence: NONE) · get_code("76a9fa87e810c2c3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from joe-siyuan-qiao/ViP-DeepLab, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sigmoid_focal_loss Ran
ran; our contract draft was wrong, not the code
NaiyuGao/PanopticDepth/projects/PanopticDepth/panoptic_depth/loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jwh97nn/DeepDPS, is pointer only (licence: NONE) · get_code("9b27de4fc1aeb35a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jwh97nn/DeepDPS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

topk_score Ran
ran; our contract draft was wrong, not the code
NaiyuGao/PanopticDepth/projects/PanopticDepth/panoptic_depth/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jwh97nn/DeepDPS, is pointer only (licence: NONE) · get_code("423213b7075a7f46")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jwh97nn/DeepDPS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

vpq_eval Ran
ran on a synthesized input
NaiyuGao/PanopticDepth/projects/PanopticDepth/evaluation/eval_cityscapes_dvpq.py
code served (permissive licence) · get_code("9b50a43d6897d0fd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Build valid arguments for vpq_eval
# The function expects element = (preds, gts) where both are lists of arrays

# Create small prediction and ground truth arrays
# Based on the code:
# - preds and gts are lists of arrays
# - Arrays are concatenated along axis=1
# - IDs are structured as: category_id * max_ins + instance_id
# where max_ins=1000, num_cat=20, ign_id=32

# Create sample prediction data (list of arrays)
# Each array represents predictions for one image
preds = [
    np.array([[1000, 2000, 3000],      # first image: pred_ids
              [1001, 2001, 3001]]),    # second image
    np.array([[4000, 5000],            # third image
              [4001, 5001]])           # fourth image
]

# Create sample ground truth data (list of arrays)
# Structure: category * 1000 + instance_id
gts = [
    np.array([[1000, 2000, 32000],     # first image: gt_ids
              [1010, 2010, 32010]]),   # second image
    np.array([[4000, 5000],            # third image
              [4010, 5010]])           # fourth image
]

# Verify structure matches expectations
# - preds and gts are lists
assert isinstance(preds, list)
assert isinstance(gts, list)
assert len(preds) == len(gts)

# Each element should be a 2D array that concatenates along axis=1
for p, g in zip(preds, gts):
    assert isinstance(p, np.ndarray)
    assert isinstance(g, np.ndarray)
    assert p.ndim == 2
    assert g.ndim == 2

element = (preds, gts)

ARGS = {
    "element": element
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, six — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
weighted_dice_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
NaiyuGao/PanopticDepth/projects/PanopticDepth/panoptic_depth/loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jwh97nn/DeepDPS, is pointer only (licence: NONE) · get_code("ebbabe4ca746dd92")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jwh97nn/DeepDPS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

multi_apply Not yet run
unverified (harvested, no recorded run)
NaiyuGao/PanopticDepth/projects/PanopticDepth/panoptic_depth/utils.py
code served (permissive licence) · get_code("f7898a5762a4d3e4")
How it ran

no invocation recorded.

vis_seg Not yet run
unverified (harvested, no recorded run)
NaiyuGao/PanopticDepth/projects/PanopticDepth/evaluation/dvps_city_evaluation.py
code served (permissive licence) · get_code("dfaa4cc1bc07a722")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 6 later) and 2 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
multi_apply 10 other papers
7 dated earlier, 3 later
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
2003.10152 (2020-03)
SOLOv2: Dynamic and Fast Instance Segmentation
2006.05683 (2020-06)
TubeTK: Adopting Tubes to Track Multi-Object in a One-Step Training Model
and 7 more not named here
gather_feature 3 other papers
1 dated earlier, 2 later
2108.07682 (2021-08)
Fully Convolutional Networks for Panoptic Segmentation with Point-based Supervision
2303.05938 (2023-03)
ACR: Attention Collaboration-based Regressor for Arbitrary Two-Hand Reconstruction
2307.14786 (2023-07)
Towards Deeply Unified Depth-aware Panoptic Segmentation with Bi-directional Guidance Learning
sigmoid_focal_loss 2 other papers
1 dated earlier, 1 later
2108.07682 (2021-08)
Fully Convolutional Networks for Panoptic Segmentation with Point-based Supervision
2307.14786 (2023-07)
Towards Deeply Unified Depth-aware Panoptic Segmentation with Bi-directional Guidance Learning
topk_score 2 other papers
1 dated earlier, 1 later
2108.07682 (2021-08)
Fully Convolutional Networks for Panoptic Segmentation with Point-based Supervision
2307.14786 (2023-07)
Towards Deeply Unified Depth-aware Panoptic Segmentation with Bi-directional Guidance Learning
weighted_dice_loss 2 other papers
1 dated earlier, 1 later
2108.07682 (2021-08)
Fully Convolutional Networks for Panoptic Segmentation with Point-based Supervision
2307.14786 (2023-07)
Towards Deeply Unified Depth-aware Panoptic Segmentation with Bi-directional Guidance Learning
load_sequence 1 other paper
1 dated earlier
2012.05258 (2020-12)
ViP-DeepLab: Learning Visual Perception with Depth-aware Video Panoptic Segmentation
vis_seg 1 other paper
1 later
Zhang_Uni-3D_A_Universal_Model_for_Panoptic_3D_Scene_Reconstruction_ICCV_2023_paper (2023 (year only))
Uni-3D: A Universal Model for Panoptic 3D Scene Reconstruction

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

This paper presents a unified framework for depth-aware panoptic segmentation (DPS), which aims to reconstruct 3D scene with instance-level semantics from one single image. Prior works address this problem by simply adding a dense depth regression head to panoptic segmentation (PS) networks, resulting in two independent task branches. This neglects the mutually-beneficial relations between these two tasks, thus failing to exploit handy instance-level semantic cues to boost depth accuracy while also producing suboptimal depth maps. To overcome these limitations, we propose a unified framework for the DPS task by applying a dynamic convolution technique to both the PS and depth prediction tasks. Specifically, instead of predicting depth for all pixels at a time, we generate instance-specific kernels to predict depth and segmentation masks for each instance. Moreover, leveraging the instance-wise depth estimation scheme, we add additional instance-level depth cues to assist with supervising the depth learning via a new depth loss. Extensive experiments on Cityscapes-DPS and SemKITTI-DPS show the effectiveness and promise of our method. We hope our unified solution to DPS can lead a new paradigm in this area. Code is available at https://github.com/NaiyuGao/PanopticDepth.

For agents

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

get_harvested_code_for_paper("2206.00468")
get_code_for_paper("2206.00468")
have("2206.00468")

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

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

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

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

Connect an agent — have() is free.