SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.06070 · CVPR · 2021

GAN Prior Embedded Network for Blind Face Restoration in the Wild

Lei Zhang, Tao Yang, Xuansong Xie, Peiran Ren

arXiv · PDF · Open in the Atlas

Code that ran

16 of 21 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (10 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 13 have no contract verdict; 3 failures of our instrument; 5 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/2105.06070.json · badge: /api/ran/2105.06070.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
yangxy/GPEN marked official in Papers with Code
Papers with Code archive
16 ran · 5 no recorded run
FunctionStatusWhere it lives
Blur Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("817b02137d001af3")
How it ran

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

ConvLayer Ran
ran on a synthesized input
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("ded6faa949d33e01")
How it ran

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

EqualConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("6671b8310bdd070f")
How it ran

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

EqualLinear Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("86832aeb38a30381")
How it ran

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

FusedLeakyReLU Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("2c52e908a19ce0ec")
How it ran

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

FusedLeakyReLUFunction Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("2986127aefd3f811")
How it ran

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

FusedLeakyReLUFunctionBackward Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("d86087185b547dc5")
How it ran

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

NoiseInjection Ran
ran on a synthesized input
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("31acaa629c342156")
How it ran

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

PixelNorm Ran
ran on a synthesized input
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("44c74356425e3a9a")
How it ran

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

ScaledLeakyReLU Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("e752706dac396c70")
How it ran

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

UpFirDn2d Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("29c4ccc455835238")
How it ran

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

UpFirDn2dBackward Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("0ecd7eb47f14bf8f")
How it ran

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

Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("30864eacf1de8c4b")
How it ran

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

fused_leaky_relu Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("507f73ae37ec8dda")
How it ran

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

upfirdn2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("e0b304c618b82986")
How it ran

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

upfirdn2d_native Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("054eb982e90af080")
How it ran

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

FullGenerator Not yet run
unverified (harvested, no recorded run)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("451b73e4c7da557b")
How it ran

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

Generator Not yet run
unverified (harvested, no recorded run)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("5d1d764abd180e05")
How it ran

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

ModulatedConv2d Not yet run
unverified (harvested, no recorded run)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("56ce990d99525f1d")
How it ran

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

StyledConv Not yet run
unverified (harvested, no recorded run)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("f99fbc31c41473fc")
How it ran

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

ToRGB Not yet run
unverified (harvested, no recorded run)
yangxy/GPEN/face_model/gpen_model.py
pointer only (licence: NONE) · get_code("cb0a65c2bec8bb30")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yangxy/GPEN 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 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 19 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
PixelNorm
brick of this paper's assembly: helper
8 other papers
5 dated earlier, 3 later · 6 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 5 more not named here
ScaledLeakyReLU
brick of this paper's assembly: model
2 other papers
2 later · 1 only as an assembly brick
2204.13656 (2022-04)
Unsupervised Multi-Modal Medical Image Registration via Discriminator-Free Image-to-Image Translation
2602.04307 (2026-02)
Universal Robust Speech Adaptation for Cross-Domain Speech Recognition and Enhancement

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

Blind face restoration (BFR) from severely degraded face images in the wild is a very challenging problem. Due to the high illness of the problem and the complex unknown degradation, directly training a deep neural network (DNN) usually cannot lead to acceptable results. Existing generative adversarial network (GAN) based methods can produce better results but tend to generate over-smoothed restorations. In this work, we propose a new method by first learning a GAN for high-quality face image generation and embedding it into a U-shaped DNN as a prior decoder, then fine-tuning the GAN prior embedded DNN with a set of synthesized low-quality face images. The GAN blocks are designed to ensure that the latent code and noise input to the GAN can be respectively generated from the deep and shallow features of the DNN, controlling the global face structure, local face details and background of the reconstructed image. The proposed GAN prior embedded network (GPEN) is easy-to-implement, and it can generate visually photo-realistic results. Our experiments demonstrated that the proposed GPEN achieves significantly superior results to state-of-the-art BFR methods both quantitatively and qualitatively, especially for the restoration of severely degraded face images in the wild. The source code and models can be found at https://github.com/ yangxy/GPEN .

For agents

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

get_harvested_code_for_paper("2105.06070")
get_code_for_paper("2105.06070")
have("2105.06070")

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

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

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

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

Connect an agent — have() is free.