SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2003.13659 · 2020

Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation

arXiv · PDF · Open in the Atlas

Code that ran

14 of 18 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; 3 honoured the contract we drafted, 1 violated it and 3 have no contract verdict; 7 failures of our instrument; 4 no recorded run), measured 2026-11-21; 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/2003.13659.json · badge: /api/ran/2003.13659.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
XingangPan/deep-generative-prior canonical (classifier label)
classifier basis: census
14 ran · 4 no recorded run
FunctionStatusWhere it lives
D_arch Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/models/biggan.py
pointer only (licence: MIT); the stored copy get_code serves, from VICO-UoE/IT-GAN, is pointer only (licence: NONE) · get_code("85eb95cce203dfc7")
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 VICO-UoE/IT-GAN, 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.

G_arch Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/models/biggan.py
pointer only (licence: MIT); the stored copy get_code serves, from VICO-UoE/IT-GAN, is pointer only (licence: NONE) · get_code("e8c308c9283407d7")
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 VICO-UoE/IT-GAN, 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.

add_dgp_parser Ran
ran on a synthesized input
XingangPan/deep-generative-prior/utils/common_utils.py
code served (permissive licence) · get_code("fc1652eff79b0594")
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 ArgumentParser. 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 argparse
import torch
import torch.nn as nn

torch.manual_seed(0)

def str2bool(v):
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

ARGS = {
    'parser': argparse.ArgumentParser(),
}
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 ArgumentParser — a ArgumentParser output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ArgumentParser 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
apply_ablation_replacement Ran
ran, honoured the contract we drafted
XingangPan/deep-generative-prior/models/nethook.py
code served (permissive licence) · get_code("ec78b98a363a7f6b")
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 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 numpy

torch.manual_seed(0)

# Create a small tensor for x
x = torch.randn(2, 4, dtype=torch.float32)

# Create a minimal imodel (not actually used in the function body)
class MinimalModel(torch.nn.Module):
    def forward(self, x):
        return x

imodel = MinimalModel()

# Create buffers dict with ablation and replacement tensors
buffers = {
    'ablation': torch.tensor([0.3, 0.5], dtype=torch.float32),
    'replacement': torch.tensor([0.1, 0.2], dtype=torch.float32)
}

ARGS = {
    'x': x,
    'imodel': imodel,
    'buffers': buffers
}
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 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
default_loader Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XingangPan/deep-generative-prior/dataset.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_SVs Ran
ran on a synthesized input
XingangPan/deep-generative-prior/utils/biggan_utils.py
code served (permissive licence) · get_code("6c0ebc8eafe7a5f7")
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 torch.nn as nn

torch.manual_seed(0)

class SimpleNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.layer1 = nn.Linear(4, 3)
        self.sv_param = nn.Parameter(torch.tensor(2.5))
        self.other_param = nn.Parameter(torch.tensor(1.0))
    
    def forward(self, x):
        return self.layer1(x)

net = SimpleNet()

prefix = "test"

ARGS = {
    "net": net,
    "prefix": prefix
}
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 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_kernel Ran
ran, honoured the contract we drafted
XingangPan/deep-generative-prior/models/downsampler.py
code served (permissive licence) · get_code("7aa5f3eab66d010a")
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 ndarray, ndim 2, dtype family float, shape (5, 5) 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 numpy as np

ARGS = {
    'factor': 2,
    'kernel_type': 'lanczos',
    'phase': 0.0,
    'kernel_width': 5,
    'support': 2,
    'sigma': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 5) — shape (5, 5) 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
gram_schmidt Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/models/layers.py
pointer only (licence: MIT); the stored copy get_code serves, from mshahbazi72/cGANTransfer, is pointer only (licence: NONE) · get_code("c41836f3e51fa8f1")
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 mshahbazi72/cGANTransfer, 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.

join_strings Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/utils/biggan_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from giannisdaras/ilo, is pointer only (licence: NONE) · get_code("7122d07d4047b8cf")
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 giannisdaras/ilo, 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_matching_tensor Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/models/nethook.py
code served (permissive licence) · get_code("aa579182467201ac")
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 Tensor, ndim 3, dtype family float, shape (1, 4, 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
import numpy

torch.manual_seed(0)

# Create a valuedict with various types of values to test conversion
valuedict = {
    'tensor_value': torch.tensor([1.0, 2.0, 3.0, 4.0]),
    'numpy_value': numpy.array([5.0, 6.0, 7.0, 8.0]),
    'scalar_value': 42,
    'list_value': [1, 2, 3, 4],
}

# Create a reference data tensor with specific properties
# Shape: (2, 4, 3) - batch size 2, some intermediate dim 4, some dim 3
data = torch.tensor([
    [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0], [10.0, 11.0, 12.0]],
    [[13.0, 14.0, 15.0], [16.0, 17.0, 18.0], [19.0, 20.0, 21.0], [22.0, 23.0, 24.0]]
], dtype=torch.float32)

ARGS = {
    'valuedict': valuedict,
    'name': 'tensor_value',
    'data': data,
}
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 Tensor, ndim 3, dtype family float, shape (1, 4, 1) — shape (1, 4, 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
pil_loader Ran
ran, honoured the contract we drafted
XingangPan/deep-generative-prior/dataset.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
power_iteration Ran
ran; our contract draft was wrong, not the code
XingangPan/deep-generative-prior/models/layers.py
code served (permissive licence) · get_code("28d3a35157f2916d")
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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Construct valid arguments for power_iteration
# W: weight matrix that will be multiplied with u and v vectors
# Shape should allow matmul operations: (4, 3) so u (1, 4) @ W (4, 3) = (1, 3)
W = torch.randn(4, 3)

# u_: list of initial vectors
# Each should be a 1D tensor with size matching W's first dimension
u_ = [
    torch.randn(1, 4),
    torch.randn(1, 4),
]

# update: boolean flag
update = True

# eps: small epsilon for numerical stability
eps = 1e-12

ARGS = {
    "W": W,
    "u_": u_,
    "update": update,
    "eps": eps,
}
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 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
str2bool Ran
ran, violated the contract we drafted
XingangPan/deep-generative-prior/utils/common_utils.py
code served (permissive licence) · get_code("f017532fc389cbfe")
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 bool, ndim 0, dtype family float, shape () 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 argparse

def str2bool(v):
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Setup code to construct valid arguments
ARGS = {
    'v': 'true'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 bool, ndim 0, dtype family float, shape () — shape () 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
subsequence Ran
ran on a synthesized input
XingangPan/deep-generative-prior/models/nethook.py
code served (permissive licence) · get_code("9c68f929b9f35f78")
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 Sequential. 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
from collections import OrderedDict

torch.manual_seed(0)

# Build a simple Sequential model with named layers
sequential = nn.Sequential(OrderedDict([
    ('layer1', nn.Linear(4, 3)),
    ('layer2', nn.ReLU()),
    ('layer3', nn.Linear(3, 2)),
    ('layer4', nn.Sigmoid()),
]))

ARGS = {
    'sequential': sequential,
    'first_layer': 'layer2',
    'last_layer': 'layer3',
    'upto_layer': None,
    'single_layer': None,
    'share_weights': False,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
accimage_loader Not yet run
unverified (harvested, no recorded run)
XingangPan/deep-generative-prior/dataset.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.

dist_init Not yet run
unverified (harvested, no recorded run)
XingangPan/deep-generative-prior/utils/distributed_utils.py
code served (permissive licence) · get_code("d018a85605be6cab")
How it ran

no invocation recorded.

load_weights Not yet run
unverified (harvested, no recorded run)
XingangPan/deep-generative-prior/utils/biggan_utils.py
code served (permissive licence) · get_code("d8685300387a8464")
How it ran

no invocation recorded.

proj Not yet run
unverified (harvested, no recorded run)
XingangPan/deep-generative-prior/models/layers.py
pointer only (licence: MIT); the stored copy get_code serves, from mshahbazi72/cGANTransfer, is pointer only (licence: NONE) · get_code("4015ab1f3ab9b881")
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 mshahbazi72/cGANTransfer, 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 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 14 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 6 the same month, 13 later) and 4 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
str2bool 82 other papers
33 dated earlier, 49 later
1510.03055 (2015-10)
A Diversity-Promoting Objective Function for Neural Conversation Models
1703.06490 (2017-03)
Generating Multi-label Discrete Patient Records using Generative Adversarial Networks
1710.10467 (2017-10)
Generalized End-to-End Loss for Speaker Verification
and 79 more not named here
pil_loader 66 other papers
6 dated earlier, 1 the same month, 59 later
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
6 dated earlier, 1 the same month, 32 later
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
default_loader 28 other papers
1 dated earlier, 1 the same month, 26 later
1907.02665 (2019-07)
Blind Image Quality Assessment Using A Deep Bilinear Convolutional Neural Network
2003.05033 (2020-03)
Generalized Energy Based Models
2004.11362 (2020-04)
Supervised Contrastive Learning
and 25 more not named here
gram_schmidt 28 other papers
5 dated earlier, 1 the same month, 22 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1910.05852 (2019-10)
Implicit competitive regularization in GANs
and 25 more not named here
proj 28 other papers
5 dated earlier, 1 the same month, 22 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1910.05852 (2019-10)
Implicit competitive regularization in GANs
and 25 more not named here
power_iteration 25 other papers
5 dated earlier, 1 the same month, 19 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1910.05852 (2019-10)
Implicit competitive regularization in GANs
and 22 more not named here
G_arch 18 other papers
3 dated earlier, 15 later · 3 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
and 15 more not named here
D_arch 15 other papers
3 dated earlier, 12 later
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
and 12 more not named here
get_kernel 5 other papers
5 later
Zang_IntraTomo_Self-Supervised_Learning-Based_Tomography_via_Sinogram_Synthesis_and_Prediction_ICCV_2021_paper (2021 (year only))
IntraTomo: Self-supervised Learning-based Tomography via Sinogram Synthesis and Prediction
and 2 more not named here
apply_ablation_replacement 4 other papers
4 later
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space
and 1 more not named here
make_matching_tensor 4 other papers
4 later
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space
and 1 more not named here
dist_init 1 other paper
1 dated earlier
1904.09739 (2019-04)
Switchable Whitening for Deep Representation Learning
join_strings 1 other paper
1 later
2206.09104 (2022-06)
Score-Guided Intermediate Layer Optimization: Fast Langevin Mixing for Inverse Problems

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-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Learning a good image prior is a long-term goal for image restoration and manipulation. While existing methods like deep image prior (DIP) capture low-level image statistics, there are still gaps toward an image prior that captures rich image semantics including color, spatial coherence, textures, and high-level concepts. This work presents an effective way to exploit the image prior captured by a generative adversarial network (GAN) trained on large-scale natural images. As shown in Fig.1, the deep generative prior (DGP) provides compelling results to restore missing semantics, e.g., color, patch, resolution, of various degraded images. It also enables diverse image manipulation including random jittering, image morphing, and category transfer. Such highly flexible restoration and manipulation are made possible through relaxing the assumption of existing GAN-inversion methods, which tend to fix the generator. Notably, we allow the generator to be fine-tuned on-the-fly in a progressive manner regularized by feature distance obtained by the discriminator in GAN. We show that these easy-to-implement and practical changes help preserve the reconstruction to remain in the manifold of nature image, and thus lead to more precise and faithful reconstruction for real images. Code is available at https://github.com/XingangPan/deep-generative-prior.

For agents

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

get_harvested_code_for_paper("2003.13659")
get_code_for_paper("2003.13659")
have("2003.13659")

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

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

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

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

Connect an agent — have() is free.