# GFPGAN

> Tencent ARC's practical face restoration model for real-world photos.

Source: https://talira.ai/catalog/gfpgan-hrtqedxp
Every listing: https://talira.ai/catalog.md

Status: GFPGAN looks abandoned: nothing has changed since April 2024, and its makers haven't said it has ended. No commit since 2 April 2024 on its only branch, and no maintainer has answered issues or Discussions in the last 12 months. Source: https://github.com/TencentARC/GFPGAN

- Kind: Open source
- Types: AI model, Library
- Categories: [media / images / face restoration](https://talira.ai/categories/media/images/face-restoration)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Tencent](https://talira.ai/orgs/tencent.md)

GFPGAN is Tencent ARC's algorithm for real-world face restoration. It uses the priors in a pretrained face GAN to restore low-quality faces, with versions 1.3 and 1.4 giving more natural results and v1.2 needing no CUDA extensions. It can enhance the non-face background with [Real-ESRGAN](https://talira.ai/catalog/real-esrgan-1abe5hfd.md). It's a Python package on PyPI with pretrained models in its GitHub releases.

## Links

- GitHub: https://github.com/TencentARC/GFPGAN

## Problems it solves

- restore low-quality faces in old photos
- sharpen faces in a batch of blurry pictures from a script
- improve faces before upscaling a whole image

## Limitations

- Its LICENSE says some bundled third-party code isn't Apache-2.0: StyleGAN2 code under NVIDIA's licence (research or evaluation only) and DFDNet-derived code under CC BY-NC-SA 4.0[^1]
- Its README states no separate licence for the pretrained models[^2]
- Its last release is v1.3.8, from 16 September 2022[^3]
- Users report a ModuleNotFoundError for torchvision.transforms.functional_tensor with newer torchvision versions, through its basicsr dependency, with no fix released[^4][^5]

## Trust

Overall: 0.18 out of 1.
Signals: maintenance 0.00, adoption 0.92, momentum 0.83, community 0.43, backing 0.30, extensibility 0.00.

- latest release v1.3.8 4.2 years ago
- 37.7k GitHub stars
- 11 contributors
- backed by Tencent

Warnings:

- abandoned: not maintained since April 2024
- last commit 2.7 years ago

## Alternatives

- [CodeFormer](https://talira.ai/catalog/codeformer-fy0ma57j.md): A face restoration model that repairs blurry, low-quality and old photos of faces.

## Sources

[^1]: https://github.com/TencentARC/GFPGAN/blob/master/LICENSE (checked 30 Nov 2026)
[^2]: https://github.com/TencentARC/GFPGAN (checked 30 Nov 2026)
[^3]: https://github.com/TencentARC/GFPGAN/releases (checked 30 Nov 2026)
[^4]: https://github.com/TencentARC/GFPGAN/issues/602 (checked 30 Nov 2026)
[^5]: https://github.com/TencentARC/GFPGAN/issues/506 (checked 30 Nov 2026)
