SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.03063 · 2023

Prompt-based Ingredient-Oriented All-in-One Image Restoration

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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; 2 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 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/2309.03063.json · badge: /api/ran/2309.03063.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
Tombs98/CAPTNet canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_psnr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Tombs98/CAPTNet/cal.py
pointer only (licence: NOASSERTION) · get_code("b0a14f63a15e798e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

flow_warp Ran
ran; our contract draft was wrong, not the code
Tombs98/CAPTNet/utils/arch_utils.py
pointer only (licence: NOASSERTION) · get_code("cd7e5b7320aed3d2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

is_frozen Ran
ran, violated the contract we drafted
Tombs98/CAPTNet/utils/model_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from invokerer/deeprft, is pointer only (licence: NOASSERTION) · get_code("930cddf0a4d80ab1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tombs98/CAPTNet 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.

is_image_file Ran
ran, violated the contract we drafted
Tombs98/CAPTNet/dataset_RGB.py
pointer only (licence: NONE); the stored copy get_code serves, from invokerer/deeprft, is pointer only (licence: NOASSERTION) · get_code("91fca7a2b44569ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tombs98/CAPTNet 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_start_epoch Ran
ran, honoured the contract we drafted
Tombs98/CAPTNet/utils/model_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from invokerer/deeprft, is pointer only (licence: NOASSERTION) · get_code("c3bea8c4ee6bef4a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tombs98/CAPTNet 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.

make_layer Ran
ran; our contract draft was wrong, not the code
Tombs98/CAPTNet/utils/arch_utils.py
pointer only (licence: NOASSERTION) · get_code("09ff3a6c27965536")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

numpyPSNR Ran
ran, honoured the contract we drafted
Tombs98/CAPTNet/utils/image_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from MingTian99/ESDNet, is pointer only (licence: NONE) · get_code("92bb8e7c6d06af3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tombs98/CAPTNet 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.

resize_flow Ran
ran; our contract draft was wrong, not the code
Tombs98/CAPTNet/utils/arch_utils.py
pointer only (licence: NOASSERTION) · get_code("9081354b1a5b7c3e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

rgb2ycbcr Ran
ran; our contract draft was wrong, not the code
Tombs98/CAPTNet/cal.py
pointer only (licence: NOASSERTION) · get_code("c87a3a8603bcab49")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

to_y_channel Ran
ran, violated the contract we drafted
Tombs98/CAPTNet/cal.py
pointer only (licence: NOASSERTION) · get_code("73f51043ee4046f1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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.

torchPSNR Ran
ran; our contract draft was wrong, not the code
Tombs98/CAPTNet/utils/image_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from MingTian99/ESDNet, is pointer only (licence: NONE) · get_code("deaed84dcb1ccde1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tombs98/CAPTNet 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.

master_only Not yet run
unverified (harvested, no recorded run)
Tombs98/CAPTNet/utils/dist_util.py
pointer only (licence: NOASSERTION) · get_code("a2bb271e0661073c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Tombs98/CAPTNet (NOASSERTION). 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 2 the same month, 8 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
make_layer 29 other papers
5 dated earlier, 23 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2108.11048 (2021-08)
Memory-Augmented Non-Local Attention for Video Super-Resolution
and 26 more not named here
flow_warp 25 other papers
3 dated earlier, 21 later, 1 same year, order not determinable · 1 only as an assembly brick
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 22 more not named here
resize_flow 21 other papers
3 dated earlier, 17 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 18 more not named here
is_frozen 8 other papers
1 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable
Zhang_Learning_Rain_Location_Prior_for_Nighttime_Deraining_ICCV_2023_paper (2023 (year only))
Learning Rain Location Prior for Nighttime Deraining
2308.03867 (2023-08)
From Sky to the Ground: A Large-scale Benchmark and Simple Baseline Towards Real Rain Removal
2309.04803 (2023-09)
Towards Real-World Burst Image Super-Resolution: Benchmark and Method
and 5 more not named here
load_start_epoch 8 other papers
1 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable
Zhang_Learning_Rain_Location_Prior_for_Nighttime_Deraining_ICCV_2023_paper (2023 (year only))
Learning Rain Location Prior for Nighttime Deraining
2308.03867 (2023-08)
From Sky to the Ground: A Large-scale Benchmark and Simple Baseline Towards Real Rain Removal
2309.04803 (2023-09)
Towards Real-World Burst Image Super-Resolution: Benchmark and Method
and 5 more not named here
is_image_file 5 other papers
1 dated earlier, 3 later, 1 same year, order not determinable
Zhang_Learning_Rain_Location_Prior_for_Nighttime_Deraining_ICCV_2023_paper (2023 (year only))
Learning Rain Location Prior for Nighttime Deraining
2308.03867 (2023-08)
From Sky to the Ground: A Large-scale Benchmark and Simple Baseline Towards Real Rain Removal
Zhou_Adapt_or_Perish_Adaptive_Sparse_Transformer_with_Attentive_Feature_Refinement_CVPR_2024_paper (2024 (year only))
Adapt or Perish: Adaptive Sparse Transformer with Attentive Feature Refinement for Image Restoration
and 2 more not named here
torchPSNR 2 other papers
1 dated earlier, 1 later
2308.11932 (2023-08)
Synergistic Multiscale Detail Refinement via Intrinsic Supervision for Underwater Image Enhancement
2405.06277 (2024-05)
Learning A Spiking Neural Network for Efficient Image Deraining
master_only 1 other paper
1 dated earlier
2111.14358 (2021-11)
IDR: Self-Supervised Image Denoising via Iterative Data Refinement
numpyPSNR 1 other paper
1 later
2405.06277 (2024-05)
Learning A Spiking Neural Network for Efficient Image Deraining

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

Image restoration aims to recover the high-quality images from their degraded observations. Since most existing methods have been dedicated into single degradation removal, they may not yield optimal results on other types of degradations, which do not satisfy the applications in real world scenarios. In this paper, we propose a novel data ingredient-oriented approach that leverages prompt-based learning to enable a single model to efficiently tackle multiple image degradation tasks. Specifically, we utilize a encoder to capture features and introduce prompts with degradation-specific information to guide the decoder in adaptively recovering images affected by various degradations. In order to model the local invariant properties and non-local information for high-quality image restoration, we combined CNNs operations and Transformers. Simultaneously, we made several key designs in the Transformer blocks (multi-head rearranged attention with prompts and simple-gate feed-forward network) to reduce computational requirements and selectively determines what information should be persevered to facilitate efficient recovery of potentially sharp images. Furthermore, we incorporate a feature fusion mechanism further explores the multi-scale information to improve the aggregated features. The resulting tightly interlinked hierarchy architecture, named as CAPTNet, extensive experiments demonstrate that our method performs competitively to the state-of-the-art.

For agents

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

get_harvested_code_for_paper("2309.03063")
get_code_for_paper("2309.03063")
have("2309.03063")

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

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

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

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

Connect an agent — have() is free.