Downloads · 30 days
0
Flash-00007/SocialFace-Restore-GAN
SocialFace-Restore-GAN is a image-to-image model from Flash-00007. Use it when you need one image transformed into another. It is set up for pytorch. The card lists the license as apache-2.0.
A Component-Based Hybrid GAN architecture designed to restore high-fidelity facial features (eyes, nose, mouth) in images degraded by social media compression, motion blur, and sensor noise.
Downloads · 30 days
0
Access
Public
Updated May 26, 2026
Repo size
694 MB
Likes
0
Public
Click a slice to open those files.
.pth694 MB · 100%
From the Hugging Face model README
A Component-Based Hybrid GAN architecture designed to restore high-fidelity facial features (eyes, nose, mouth) in images degraded by social media compression, motion blur, and sensor noise.
The primary objective is to achieve perceptual realism while strictly preserving the subject's unique identity. This model leverages specialized discriminators for local facial components and an identity-consistency module.
The model was trained using paired training data generated via synthetic distortion from:
Images on social media often suffer from aggressive lossy compression. This project implements a Hybrid GAN featuring:
The model achieves the following target benchmarks:
You can load the model in PyTorch using:
import torch
# Assuming your model architecture class 'Generator' is defined
model = Generator()
model.load_state_dict(torch.load("socialface_restore_gan.pth", map_location="cpu"))
model.eval()