SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.14291 · ICCV · 2023

EDAPS: Enhanced Domain-Adaptive Panoptic Segmentation

Anton Obukhov, Dengxin Dai, Lukas Hoyer, Suman Saha

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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 5 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2304.14291.json · badge: /api/ran/2304.14291.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
susaha/edaps canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
get_backbone_cfg Ran
ran; our contract draft was wrong, not the code
susaha/edaps/experiments_bottomup.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from kw01sg/crda, is pointer only (licence: NONE) · get_code("903b0922a749302e")
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 kw01sg/crda, 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.

get_map Ran
ran on a synthesized input
susaha/edaps/synthiascripts/map_ids.py
code served (permissive licence) · get_code("3b088df55d146335")
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

# Analyze the function:
# - get_map takes one parameter: num_classes
# - It returns a dictionary mapping synthiaId to trainId
# - The function checks if num_classes == 16 and returns the mapping
# - No other dependencies or side effects

ARGS = {
    'num_classes': 16
}
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
get_model_base Ran
ran on a synthesized input
susaha/edaps/experiments.py
code served (permissive licence) · get_code("b4bee9e463fa8c83")
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 str. 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

ARGS = {
    'architecture': 'deeplabv2',
    'backbone': 'resnet50',
    'uda': 'dacs',
    'semantic_decoder': 'sepaspp',
    'uda_model_type': 'dacs'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_model_base Ran
ran on a synthesized input
susaha/edaps/experiments_bottomup.py
code served (permissive licence) · get_code("f364a5eca0be3a94")
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 str. 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 constructs a path string using the three parameters
# It performs string formatting with f-string, so we just need valid strings

architecture = "unet"
backbone = "resnet50"
semantic_decoder = "fpn"

ARGS = {
    "architecture": architecture,
    "backbone": backbone,
    "semantic_decoder": semantic_decoder,
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_model_base_dacs Ran
ran on a synthesized input
susaha/edaps/experiments.py
code served (permissive licence) · get_code("6ac4e343f17cbd59")
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 str. 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

ARGS = {
    'architecture': 'deeplabv2',
    'semantic_decoder': 'aspp',
    'backbone': 'resnet50',
    'uda_model_type': 'dacs'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_pretraining_file Ran
ran; our contract draft was wrong, not the code
susaha/edaps/experiments_bottomup.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from kw01sg/crda, is pointer only (licence: NONE) · get_code("7063030b369b4ce1")
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 kw01sg/crda, 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.

get_traceback Ran
ran; our contract draft was wrong, not the code
susaha/edaps/mapillaryscripts/save_panoptic_gt_labels_for_mapillary_as_pickle_files_19cls.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from yihong-97/OASS, is pointer only (licence: NONE) · get_code("72293b35c72b14b9")
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 yihong-97/OASS, 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.

set_semantic_and_instance_loss_weights Ran
ran on a synthesized input
susaha/edaps/experiments.py
code served (permissive licence) · get_code("04c6b6273dadbc15")
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

# Construct a minimal config dictionary that the function expects
cfg = {
    'model': {},
    'evaluation': {}
}

# Define the arguments for the function
loss_weight_semantic = 1.0
loss_weight_instance = 0.5

ARGS = {
    'cfg': cfg,
    'loss_weight_semanitc': loss_weight_semantic,
    'loss_weight_instance': loss_weight_instance
}
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

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 5 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
get_backbone_cfg 9 other papers
1 dated earlier, 8 later
2111.14887 (2021-11)
DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentation
2307.15942 (2023-07)
CMDA: Cross-Modality Domain Adaptation for Nighttime Semantic Segmentation
2311.13254 (2023-11)
Unified Domain Adaptive Semantic Segmentation
and 6 more not named here
get_pretraining_file 9 other papers
1 dated earlier, 8 later
2111.14887 (2021-11)
DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentation
2307.15942 (2023-07)
CMDA: Cross-Modality Domain Adaptation for Nighttime Semantic Segmentation
2311.13254 (2023-11)
Unified Domain Adaptive Semantic Segmentation
and 6 more not named here
get_traceback 3 other papers
1 dated earlier, 2 later
2006.07864 (2020-06)
Cityscapes 3D: Dataset and Benchmark for 9 DoF Vehicle Detection
2401.12761 (2024-01)
MUSES: The Multi-Sensor Semantic Perception Dataset for Driving under Uncertainty
2407.02182 (2024-07)
Occlusion-Aware Seamless 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-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

With autonomous industries on the rise, domain adaptation of the visual perception stack is an important research direction due to the cost savings promise. Much prior art was dedicated to domain-adaptive semantic segmentation in the synthetic-to-real context. Despite being a crucial output of the perception stack, panoptic segmentation has been largely overlooked by the domain adaptation community. Therefore, we revisit well-performing domain adaptation strategies from other fields, adapt them to panoptic segmentation, and show that they can effectively enhance panoptic domain adaptation. Further, we study the panoptic network design and propose a novel architecture (EDAPS) designed explicitly for domain-adaptive panoptic segmentation. It uses a shared, domain-robust transformer encoder to facilitate the joint adaptation of semantic and instance features, but task-specific decoders tailored for the specific requirements of both domain-adaptive semantic and instance segmentation. As a result, the performance gap seen in challenging panoptic benchmarks is substantially narrowed. EDAPS significantly improves the state-of-the-art performance for panoptic segmentation UDA by a large margin of 20% on SYNTHIA-to-Cityscapes and even 72% on the more challenging SYNTHIA-to-Mapillary Vistas. The implementation is available at https://github.com/susaha/edaps.

For agents

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

get_harvested_code_for_paper("2304.14291")
get_code_for_paper("2304.14291")
have("2304.14291")

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

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

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

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

Connect an agent — have() is free.