Papers › Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation

Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation

30 Mar 2020ECCV 2020 8arXiv:2003.13659archive 2025-07-28

Xingang Pan, Xiaohang Zhan, Bo Dai, Dahua Lin, Chen Change Loy, Ping Luo

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2003.13659")

Code

Syntology Ran 7 of 18 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 4 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

XingangPan/deep-generative-prior officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 7 ran; 1 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
4ran · our draft was wrong
1ran
11unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from XingangPan/deep-generative-prior. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

D_arch XingangPan/deep-generative-prior/models/biggan.py official repository ran · our draft was wrong MIT (permissive) · 85eb95cce203dfc7 · report
G_arch XingangPan/deep-generative-prior/models/biggan.py official repository ran · our draft was wrong MIT (permissive) · e8c308c9283407d7 · report
get_kernel XingangPan/deep-generative-prior/models/downsampler.py official repository ran MIT (permissive) · 7aa5f3eab66d010a · report
gram_schmidt XingangPan/deep-generative-prior/models/layers.py official repository ran · our draft was wrong MIT (permissive) · c41836f3e51fa8f1 · report
join_strings XingangPan/deep-generative-prior/utils/biggan_utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7122d07d4047b8cf · report
pil_loader XingangPan/deep-generative-prior/dataset.py official repository ran · honoured contract MIT (permissive) · f321f54723433661 · report
str2bool XingangPan/deep-generative-prior/utils/common_utils.py official repository ran · violated contract MIT (permissive) · f017532fc389cbfe · report
accimage_loader XingangPan/deep-generative-prior/dataset.py official repository unverified MIT (permissive) · 404fb2b2daa1ae78 · report
add_dgp_parser XingangPan/deep-generative-prior/utils/common_utils.py official repository unverified MIT (permissive) · fc1652eff79b0594 · report
apply_ablation_replacement XingangPan/deep-generative-prior/models/nethook.py official repository unverified MIT (permissive) · ec78b98a363a7f6b · report
default_loader XingangPan/deep-generative-prior/dataset.py official repository unverified MIT (permissive) · 7bf07d5f59aae36d · report
dist_init XingangPan/deep-generative-prior/utils/distributed_utils.py official repository unverified MIT (permissive) · d018a85605be6cab · report
get_SVs XingangPan/deep-generative-prior/utils/biggan_utils.py official repository unverified MIT (permissive) · 6c0ebc8eafe7a5f7 · report
load_weights XingangPan/deep-generative-prior/utils/biggan_utils.py official repository unverified MIT (permissive) · d8685300387a8464 · report
make_matching_tensor XingangPan/deep-generative-prior/models/nethook.py official repository unverified MIT (permissive) · aa579182467201ac · report
power_iteration XingangPan/deep-generative-prior/models/layers.py official repository unverified MIT (permissive) · 28d3a35157f2916d · report
proj XingangPan/deep-generative-prior/models/layers.py official repository unverified MIT (permissive) · 4015ab1f3ab9b881 · report
subsequence XingangPan/deep-generative-prior/models/nethook.py official repository unverified MIT (permissive) · 9c68f929b9f35f78 · report

Tasks

Image ManipulationImage MorphingImage Restoration

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections