SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.05590 · ICCV · 2023

Perceptual Artifacts Localization for Image Synthesis Tasks

Eli Shechtman, He Zhang, Yuqian Zhou, Zhe Lin, Lingzhi Zhang, Sohrab Amirghodsi, Jianbo Shi, Qing Liu, Connelly Barnes, Zhengjie Xu, Stylegan2 -Ffhq Ldm -Celeba Anyres, Gan Lr

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 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/2310.05590.json · badge: /api/ran/2310.05590.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
open-mmlab/mmsegmentation canonical (classifier label)
classifier basis not recorded on the link
6 ran · 2 no recorded run
FunctionStatusWhere it lives
calculate_file_sha256 Ran
ran; our contract draft was wrong, not the code
open-mmlab/mmsegmentation/.dev_scripts/gather_models.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("a669df2cd07c07bb")
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 zmhhmz/resfu, 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.

dump_yaml_and_check_difference Ran
ran, violated the contract we drafted
open-mmlab/mmsegmentation/.dev_scripts/update_model_index.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("b8bb3de40cf61c64")
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 zmhhmz/resfu, 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_collection_name_list Ran
ran; our contract draft was wrong, not the code
open-mmlab/mmsegmentation/.dev_scripts/update_model_index.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("b9e0b82131912b70")
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 zmhhmz/resfu, 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_final_iter Ran
ran, honoured the contract we drafted
open-mmlab/mmsegmentation/.dev_scripts/gather_models.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("88d68650d669bb11")
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 zmhhmz/resfu, 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.

process_checkpoint Ran
ran; our contract draft was wrong, not the code
open-mmlab/mmsegmentation/.dev_scripts/gather_models.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("4037fd6bcb9ca210")
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 zmhhmz/resfu, 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.

process_model_info Ran
ran; our contract draft was wrong, not the code
open-mmlab/mmsegmentation/.dev_scripts/generate_benchmark_evaluation_script.py
code served (permissive licence) · get_code("39403bf2697d1720")
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 os.path as osp

# Construct model_info dict with required keys
model_info = {
    'config': '/path/to/config_file.py  ',  # with whitespace to test .strip()
    'checkpoint': '/path/to/checkpoint.pth  ',  # with whitespace to test .strip()
    'eval': ['metric1', 'metric2']  # list of evaluation metrics
}

# Construct work_dir
work_dir = '/tmp/work'

# Define ARGS mapping all parameters
ARGS = {
    'model_info': model_info,
    'work_dir': work_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 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
check_url Not yet run
unverified (harvested, no recorded run)
open-mmlab/mmsegmentation/.dev_scripts/check_urls.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("dbbc38f85ae9361f")
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 zmhhmz/resfu, 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. No invocation recorded.

get_model_info Not yet run
unverified (harvested, no recorded run)
open-mmlab/mmsegmentation/.dev_scripts/update_model_index.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zmhhmz/resfu, is pointer only (licence: NONE) · get_code("75819240e9ae42d0")
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 zmhhmz/resfu, 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. No invocation recorded.

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, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 8 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
get_final_iter 13 other papers
8 dated earlier, 5 later
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2105.05409 (2021-05)
A Large-Scale Benchmark for Food Image Segmentation
2105.15203 (2021-05)
SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
and 10 more not named here
calculate_file_sha256 9 other papers
4 dated earlier, 5 later
2105.15203 (2021-05)
SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
2303.11633 (2023-03)
Learning Context-Aware Classifier for Semantic Segmentation
2304.13428 (2023-04)
Compensation Learning in Semantic Segmentation
and 6 more not named here
process_checkpoint 6 other papers
2 dated earlier, 4 later
2304.13428 (2023-04)
Compensation Learning in Semantic Segmentation
2309.14303 (2023-09)
Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation
2402.00868 (2024-02)
We're Not Using Videos Effectively: An Updated Domain Adaptive Video Segmentation Baseline
and 3 more not named here
check_url 4 other papers
1 dated earlier, 3 later
2105.15203 (2021-05)
SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
2404.01705 (2024-04)
Samba: Semantic Segmentation of Remotely Sensed Images with State Space Model
2405.06228 (2024-05)
Context-Guided Spatial Feature Reconstruction for Efficient Semantic Segmentation
and 1 more not named here
dump_yaml_and_check_difference 4 other papers
1 dated earlier, 3 later
2309.14303 (2023-09)
Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation
2404.01705 (2024-04)
Samba: Semantic Segmentation of Remotely Sensed Images with State Space Model
2407.02109 (2024-07)
HRSAM: Efficient Interactive Segmentation in High-Resolution Images
and 1 more not named here
get_collection_name_list 4 other papers
1 dated earlier, 3 later
2309.14303 (2023-09)
Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation
2404.01705 (2024-04)
Samba: Semantic Segmentation of Remotely Sensed Images with State Space Model
2407.02109 (2024-07)
HRSAM: Efficient Interactive Segmentation in High-Resolution Images
and 1 more not named here
get_model_info 3 other papers
3 later
2404.01705 (2024-04)
Samba: Semantic Segmentation of Remotely Sensed Images with State Space Model
2407.02109 (2024-07)
HRSAM: Efficient Interactive Segmentation in High-Resolution Images
2407.02283 (2024-07)
A Refreshed Similarity-based Upsampler for Direct High-Ratio Feature Upsampling
process_model_info 2 other papers
1 dated earlier, 1 later
2105.15203 (2021-05)
SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
2405.06228 (2024-05)
Context-Guided Spatial Feature Reconstruction for Efficient Semantic 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

Style Pose Figure 1: The visualization of predicted perceptual artifacts localization on ten image synthesis tasks. The first row contains unconditionally generated images from StyleGAN2 [19], Latent Diffusion Model (LDM) [42], and Anyres GAN [8]. The second row shows the results on types of conditional generated images, including super-resolution with Real-ESRGAN [55], edge-to-image with PITI [53], mask-to-image with PITI [53], image latent composition [9], virtual try-on [15], and portrait shadow removal [63]. The conditional inputs are placed at the top left of the images. In the last row, we show predictions on the text-to-image outputs from DALL-E 2 [40] and Stable Diffusion [42].

For agents

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

get_harvested_code_for_paper("2310.05590")
get_code_for_paper("2310.05590")
have("2310.05590")

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

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

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

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

Connect an agent — have() is free.