SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.00354 · 2023

Unlimited-Size Diffusion Restoration

arXiv · PDF · Open in the Atlas

Code that ran

20 of 22 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; 18 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/2303.00354.json · badge: /api/ran/2303.00354.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
wyhuai/ddnm canonical (classifier label)
classifier basis not recorded on the link
20 ran · 2 no recorded run
FunctionStatusWhere it lives
MeanUpsample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/guided_diffusion/diffusion.py
code served (permissive licence) · get_code("12012b9130641107")
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 Tensor, ndim 4, dtype family float, shape (2, 4, 6, 10) 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)

# Create a small input tensor with shape (batch=2, channels=4, height=3, width=5)
x = torch.randn(2, 4, 3, 5)

# Scale factor for upsampling
scale = 2

ARGS = {
    "x": x,
    "scale": scale,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (2, 4, 6, 10) — shape (2, 4, 6, 10) 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
Normalize Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/guided_diffusion/models.py
pointer only (licence: MIT); the stored copy get_code serves, from Xingyu-Zheng/BiDM, is pointer only (licence: NONE) · get_code("c3a6b977022957cb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Xingyu-Zheng/BiDM, 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.

check_integrity Ran
ran, violated the contract we drafted
wyhuai/ddnm/datasets/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from xingyu-zheng/bidm, is pointer only (licence: NONE) · get_code("7345763c9b9300fb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xingyu-zheng/bidm, 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.

color2gray Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/functions/svd_operators.py
pointer only (licence: MIT); the stored copy get_code serves, from jrrhuang/fmrg, is pointer only (licence: NOASSERTION) · get_code("dd9fc69e1eb813b9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jrrhuang/fmrg, and GitHub could not classify the licence of that repository (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.

color2gray Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/guided_diffusion/diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from tirer-lab/ddpg, is pointer only (licence: NONE) · get_code("af792c258aa85c57")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from tirer-lab/ddpg, 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.

compute_alpha Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/functions/svd_ddnm.py
code served (permissive licence) · get_code("9215fb189fbfb9f4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 1, 1, 1) 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)

# beta should be a 1D tensor representing beta values for diffusion timesteps
# Let's use 10 timesteps
num_timesteps = 10
beta = torch.linspace(0.0001, 0.02, num_timesteps)

# t should be a 1D tensor of indices into the timesteps
# Let's use batch size 2
batch_size = 2
t = torch.randint(0, num_timesteps, (batch_size,))

ARGS = {
    'beta': beta,
    't': t
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (2, 1, 1, 1) — shape (2, 1, 1, 1) 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
default_loader Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/datasets/imagenet_subset.py
pointer only (licence: MIT); the stored copy get_code serves, from NA-HMC/NA-HMC, is pointer only (licence: NONE) · get_code("7bf07d5f59aae36d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NA-HMC/NA-HMC, 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_ckpt_path Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/functions/ckpt_util.py
pointer only (licence: MIT); the stored copy get_code serves, from FlowDPS-Inverse/FlowDPS, is pointer only (licence: NONE) · get_code("d80f2146cfc85e9a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from FlowDPS-Inverse/FlowDPS, 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_gaussian_noisy_img Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/guided_diffusion/diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from tirer-lab/ddpg, is pointer only (licence: NONE) · get_code("17b8a580da43c920")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from tirer-lab/ddpg, 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_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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_timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/guided_diffusion/models.py
code served (permissive licence) · get_code("cb49209c125de1b4")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
import math

torch.manual_seed(0)

# The function takes two parameters:
# 1. timesteps: a 1D tensor of timestep indices
# 2. embedding_dim: an integer specifying the embedding dimension

# Create a small 1D tensor of timesteps (batch size 2)
timesteps = torch.tensor([0, 5], dtype=torch.int64)

# Create an embedding dimension (use 4 as specified)
embedding_dim = 4

ARGS = {
    "timesteps": timesteps,
    "embedding_dim": embedding_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, dtype family float, shape (2, 4) — shape (2, 4) 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
gray2color Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/functions/svd_operators.py
pointer only (licence: MIT); the stored copy get_code serves, from jrrhuang/fmrg, is pointer only (licence: NOASSERTION) · get_code("6d117fa2c3ad8438")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jrrhuang/fmrg, and GitHub could not classify the licence of that repository (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.

inverse_data_transform Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/functions/svd_ddnm.py
pointer only (licence: MIT); the stored copy get_code serves, from FlowDPS-Inverse/FlowDPS, is pointer only (licence: NONE) · get_code("39ba407e4342bdd3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from FlowDPS-Inverse/FlowDPS, 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.

list_dir Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/datasets/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from xiaoboxia/T-Revision, is pointer only (licence: NONE) · get_code("915e1c6c38494be9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xiaoboxia/T-Revision, 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.

list_files Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/datasets/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from xiaoboxia/T-Revision, is pointer only (licence: NONE) · get_code("208e196e9582a9a6")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xiaoboxia/T-Revision, 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.

make_master_params Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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.

md5_hash Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/functions/ckpt_util.py
pointer only (licence: MIT); the stored copy get_code serves, from zh460045050/V2L-Tokenizer, is pointer only (licence: NONE) · get_code("07d90bd6ae1be7db")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zh460045050/V2L-Tokenizer, 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.

nonlinearity Ran
ran; our contract draft was wrong, not the code
wyhuai/ddnm/guided_diffusion/models.py
code served (permissive licence) · get_code("3137073275f8c21a")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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)

# The function takes a single parameter 'x' which is used with:
# - multiplication operator (*)
# - torch.sigmoid() function
# This means x should be a tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, dtype family float, shape (2, 4) — shape (2, 4) 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
pil_loader Ran
ran, honoured the contract we drafted
wyhuai/ddnm/datasets/imagenet_subset.py
code served (permissive licence) · get_code("f321f54723433661")
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 Image. 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
from PIL import Image
import io
import os
import tempfile

# Create a temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a simple RGB image and save it to a temporary file
img = Image.new('RGB', (10, 10), color=(73, 109, 137))
test_image_path = os.path.join(temp_dir, 'test_image.jpg')
img.save(test_image_path)

ARGS = {
    'path': test_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyhuai/ddnm/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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.

accimage_loader Not yet run
unverified (harvested, no recorded run)
wyhuai/ddnm/datasets/imagenet_subset.py
pointer only (licence: MIT); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("404fb2b2daa1ae78")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from RobustBench/robustbench, and GitHub could not classify the licence of that repository (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.

ddnm_diffusion Not yet run
unverified (harvested, no recorded run)
wyhuai/ddnm/functions/svd_ddnm.py
pointer only (licence: MIT); the stored copy get_code serves, from FlowDPS-Inverse/FlowDPS, is pointer only (licence: NONE) · get_code("ad4e0ba376bb7ae7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from FlowDPS-Inverse/FlowDPS, 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 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 22 are also present in other papers whose code we hold (18 with at least one paper dated earlier, 8 the same month, 22 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
nonlinearity 156 other papers
25 dated earlier, 5 the same month, 125 later, 1 same year, order not determinable · 25 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 153 more not named here
get_timestep_embedding 91 other papers
20 dated earlier, 5 the same month, 65 later, 1 same year, order not determinable · 7 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 88 more not named here
Normalize 90 other papers
19 dated earlier, 4 the same month, 67 later · 32 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 87 more not named here
unflatten_master_params 72 other papers
15 dated earlier, 4 the same month, 52 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
15 dated earlier, 3 the same month, 51 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
14 dated earlier, 3 the same month, 50 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
pil_loader 66 other papers
24 dated earlier, 39 later, 3 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
accimage_loader 39 other papers
15 dated earlier, 23 later, 1 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
and 36 more not named here
md5_hash 30 other papers
7 dated earlier, 22 later, 1 same year, order not determinable
2008.01777 (2020-08)
Making Sense of CNNs: Interpreting Deep Representations & Their Invariances with INNs
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
and 27 more not named here
default_loader 28 other papers
9 dated earlier, 18 later, 1 same year, order not determinable
1907.02665 (2019-07)
Blind Image Quality Assessment Using A Deep Bilinear Convolutional Neural Network
2003.05033 (2020-03)
Generalized Energy Based Models
2003.13659 (2020-03)
Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation
and 25 more not named here
compute_alpha 23 other papers
8 dated earlier, 2 the same month, 13 later · 6 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 20 more not named here
list_dir 19 other papers
9 dated earlier, 9 later, 1 same year, order not determinable
1803.02999 (2018-03)
On First-Order Meta-Learning Algorithms
1903.12648 (2019-03)
Overcoming Catastrophic Forgetting with Unlabeled Data in the Wild
1906.00189 (2019-06)
Are Anchor Points Really Indispensable in Label-Noise Learning?
and 16 more not named here
check_integrity 16 other papers
6 dated earlier, 9 later, 1 same year, order not determinable
1908.07724 (2019-08)
Restricted Recurrent Neural Networks
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
2210.11633 (2022-10)
Graphically Structured Diffusion Models
and 13 more not named here
list_files 16 other papers
9 dated earlier, 7 later
1803.02999 (2018-03)
On First-Order Meta-Learning Algorithms
1903.12648 (2019-03)
Overcoming Catastrophic Forgetting with Unlabeled Data in the Wild
1906.00189 (2019-06)
Are Anchor Points Really Indispensable in Label-Noise Learning?
and 13 more not named here
get_ckpt_path 5 other papers
1 dated earlier, 4 later
2301.12686 (2023-01)
GibbsDDRM: A Partially Collapsed Gibbs Sampler for Solving Blind Inverse Problems with Denoising Diffusion Restoration
2312.16519 (2023-12)
Image Restoration by Denoising Diffusion Models with Iteratively Preconditioned Guidance
2405.10748 (2024-05)
Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems
and 2 more not named here
color2gray 4 other papers
4 later
2312.16519 (2023-12)
Image Restoration by Denoising Diffusion Models with Iteratively Preconditioned Guidance
2405.10748 (2024-05)
Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems
2601.04791 (2026-01)
Measurement-Consistent Langevin Corrector for Stabilizing Latent Diffusion Inverse Problem Solvers
and 1 more not named here
gray2color 4 other papers
4 later
2312.16519 (2023-12)
Image Restoration by Denoising Diffusion Models with Iteratively Preconditioned Guidance
2405.10748 (2024-05)
Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems
2601.04791 (2026-01)
Measurement-Consistent Langevin Corrector for Stabilizing Latent Diffusion Inverse Problem Solvers
and 1 more not named here
MeanUpsample 3 other papers
1 dated earlier, 1 the same month, 1 later
2212.00490 (2022-12)
Zero-Shot Image Restoration Using Denoising Diffusion Null-Space Model
2303.12175 (2023-03)
Black-box Backdoor Defense via Zero-shot Image Purification
2312.16519 (2023-12)
Image Restoration by Denoising Diffusion Models with Iteratively Preconditioned Guidance
color2gray 2 other papers
1 dated earlier, 1 later
2212.00490 (2022-12)
Zero-Shot Image Restoration Using Denoising Diffusion Null-Space Model
2312.16519 (2023-12)
Image Restoration by Denoising Diffusion Models with Iteratively Preconditioned Guidance
ddnm_diffusion 2 other papers
2 later
2405.10748 (2024-05)
Deep Data Consistency: a Fast and Robust Diffusion Model-based Solver for Inverse Problems
2601.04791 (2026-01)
Measurement-Consistent Langevin Corrector for Stabilizing Latent Diffusion Inverse Problem Solvers

Shown: the 20 functions present in the most other papers. 2 more shared functions are not listed here.

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

Recently, using diffusion models for zero-shot image restoration (IR) has become a new hot paradigm. This type of method only needs to use the pre-trained off-the-shelf diffusion models, without any finetuning, and can directly handle various IR tasks. The upper limit of the restoration performance depends on the pre-trained diffusion models, which are in rapid evolution. However, current methods only discuss how to deal with fixed-size images, but dealing with images of arbitrary sizes is very important for practical applications. This paper focuses on how to use those diffusion-based zero-shot IR methods to deal with any size while maintaining the excellent characteristics of zero-shot. A simple way to solve arbitrary size is to divide it into fixed-size patches and solve each patch independently. But this may yield significant artifacts since it neither considers the global semantics of all patches nor the local information of adjacent patches. Inspired by the Range-Null space Decomposition, we propose the Mask-Shift Restoration to address local incoherence and propose the Hierarchical Restoration to alleviate out-of-domain issues. Our simple, parameter-free approaches can be used not only for image restoration but also for image generation of unlimited sizes, with the potential to be a general tool for diffusion models. Code: https://github.com/wyhuai/DDNM/tree/main/hq_demo

For agents

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

get_harvested_code_for_paper("2303.00354")
get_code_for_paper("2303.00354")
have("2303.00354")

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

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

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

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

Connect an agent — have() is free.