├── .github └── workflows │ ├── publish-pip.yml │ ├── pylint.yml │ └── release.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── CODE_OF_CONDUCT.md ├── Comparisons.md ├── FAQ.md ├── LICENSE ├── MANIFEST.in ├── PaperModel.md ├── README.md ├── README_CN.md ├── VERSION ├── assets └── gfpgan_logo.png ├── cog.yaml ├── cog_predict.py ├── experiments └── pretrained_models │ └── README.md ├── gfpgan ├── __init__.py ├── archs │ ├── __init__.py │ ├── arcface_arch.py │ ├── gfpgan_bilinear_arch.py │ ├── gfpganv1_arch.py │ ├── gfpganv1_clean_arch.py │ ├── restoreformer_arch.py │ ├── stylegan2_bilinear_arch.py │ └── stylegan2_clean_arch.py ├── data │ ├── __init__.py │ └── ffhq_degradation_dataset.py ├── models │ ├── __init__.py │ └── gfpgan_model.py ├── train.py ├── utils.py └── weights │ └── README.md ├── inference_gfpgan.py ├── inputs ├── cropped_faces │ ├── Adele_crop.png │ ├── Julia_Roberts_crop.png │ ├── Justin_Timberlake_crop.png │ └── Paris_Hilton_crop.png └── whole_imgs │ ├── 00.jpg │ ├── 10045.png │ └── Blake_Lively.jpg ├── options ├── train_gfpgan_v1.yml └── train_gfpgan_v1_simple.yml ├── requirements.txt ├── scripts ├── convert_gfpganv_to_clean.py └── parse_landmark.py ├── setup.cfg ├── setup.py └── tests ├── data ├── ffhq_gt.lmdb │ ├── data.mdb │ ├── lock.mdb │ └── meta_info.txt ├── gt │ └── 00000000.png ├── test_eye_mouth_landmarks.pth ├── test_ffhq_degradation_dataset.yml └── test_gfpgan_model.yml ├── test_arcface_arch.py ├── test_ffhq_degradation_dataset.py ├── test_gfpgan_arch.py ├── test_gfpgan_model.py ├── test_stylegan2_clean_arch.py └── test_utils.py /.github/workflows/publish-pip.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.github/workflows/publish-pip.yml -------------------------------------------------------------------------------- /.github/workflows/pylint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.github/workflows/pylint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Comparisons.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/Comparisons.md -------------------------------------------------------------------------------- /FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/FAQ.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /PaperModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/PaperModel.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/README_CN.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.3.8 2 | -------------------------------------------------------------------------------- /assets/gfpgan_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/assets/gfpgan_logo.png -------------------------------------------------------------------------------- /cog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/cog.yaml -------------------------------------------------------------------------------- /cog_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/cog_predict.py -------------------------------------------------------------------------------- /experiments/pretrained_models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/experiments/pretrained_models/README.md -------------------------------------------------------------------------------- /gfpgan/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/__init__.py -------------------------------------------------------------------------------- /gfpgan/archs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/__init__.py -------------------------------------------------------------------------------- /gfpgan/archs/arcface_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/arcface_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/gfpgan_bilinear_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/gfpgan_bilinear_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/gfpganv1_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/gfpganv1_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/gfpganv1_clean_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/gfpganv1_clean_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/restoreformer_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/restoreformer_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/stylegan2_bilinear_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/stylegan2_bilinear_arch.py -------------------------------------------------------------------------------- /gfpgan/archs/stylegan2_clean_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/archs/stylegan2_clean_arch.py -------------------------------------------------------------------------------- /gfpgan/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/data/__init__.py -------------------------------------------------------------------------------- /gfpgan/data/ffhq_degradation_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/data/ffhq_degradation_dataset.py -------------------------------------------------------------------------------- /gfpgan/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/models/__init__.py -------------------------------------------------------------------------------- /gfpgan/models/gfpgan_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/models/gfpgan_model.py -------------------------------------------------------------------------------- /gfpgan/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/train.py -------------------------------------------------------------------------------- /gfpgan/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/utils.py -------------------------------------------------------------------------------- /gfpgan/weights/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/gfpgan/weights/README.md -------------------------------------------------------------------------------- /inference_gfpgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inference_gfpgan.py -------------------------------------------------------------------------------- /inputs/cropped_faces/Adele_crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/cropped_faces/Adele_crop.png -------------------------------------------------------------------------------- /inputs/cropped_faces/Julia_Roberts_crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/cropped_faces/Julia_Roberts_crop.png -------------------------------------------------------------------------------- /inputs/cropped_faces/Justin_Timberlake_crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/cropped_faces/Justin_Timberlake_crop.png -------------------------------------------------------------------------------- /inputs/cropped_faces/Paris_Hilton_crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/cropped_faces/Paris_Hilton_crop.png -------------------------------------------------------------------------------- /inputs/whole_imgs/00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/whole_imgs/00.jpg -------------------------------------------------------------------------------- /inputs/whole_imgs/10045.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/whole_imgs/10045.png -------------------------------------------------------------------------------- /inputs/whole_imgs/Blake_Lively.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/inputs/whole_imgs/Blake_Lively.jpg -------------------------------------------------------------------------------- /options/train_gfpgan_v1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/options/train_gfpgan_v1.yml -------------------------------------------------------------------------------- /options/train_gfpgan_v1_simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/options/train_gfpgan_v1_simple.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/convert_gfpganv_to_clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/scripts/convert_gfpganv_to_clean.py -------------------------------------------------------------------------------- /scripts/parse_landmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/scripts/parse_landmark.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/ffhq_gt.lmdb/data.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/ffhq_gt.lmdb/data.mdb -------------------------------------------------------------------------------- /tests/data/ffhq_gt.lmdb/lock.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/ffhq_gt.lmdb/lock.mdb -------------------------------------------------------------------------------- /tests/data/ffhq_gt.lmdb/meta_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/ffhq_gt.lmdb/meta_info.txt -------------------------------------------------------------------------------- /tests/data/gt/00000000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/gt/00000000.png -------------------------------------------------------------------------------- /tests/data/test_eye_mouth_landmarks.pth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/test_eye_mouth_landmarks.pth -------------------------------------------------------------------------------- /tests/data/test_ffhq_degradation_dataset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/test_ffhq_degradation_dataset.yml -------------------------------------------------------------------------------- /tests/data/test_gfpgan_model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/data/test_gfpgan_model.yml -------------------------------------------------------------------------------- /tests/test_arcface_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_arcface_arch.py -------------------------------------------------------------------------------- /tests/test_ffhq_degradation_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_ffhq_degradation_dataset.py -------------------------------------------------------------------------------- /tests/test_gfpgan_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_gfpgan_arch.py -------------------------------------------------------------------------------- /tests/test_gfpgan_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_gfpgan_model.py -------------------------------------------------------------------------------- /tests/test_stylegan2_clean_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_stylegan2_clean_arch.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/GFPGAN/HEAD/tests/test_utils.py --------------------------------------------------------------------------------