Skip to content

Unsupervised Face Super-Resolution via Gradient Enhancement and Semantic Guidance

Notifications You must be signed in to change notification settings

liluying1996/GESGNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unsupervised Face Super-Resolution via Gradient Enhancement and Semantic Guidance (GESGNet)

Preparation

  1. prepare unpaired data, which includes images of HR domain and LR domain
  2. use ESRGAN to transform LR domain into inter-HR domain
  3. put images of inter-HR and HR domain in a folder your_datasets, and rename them as trainA and trainB, respectively.
  4. download the pretrained face parsing model, and put it in the folder models. (The original face parsing codes can be found in https://github.com/zllrunning/face-parsing.PyTorch)

Training

python train.py --name experiment_name --dataroot /path/to/your_datasets --model GESG

Testing

python test.py --name experiment_name --dataroot /path/to/your_datasets --model GESG

About

Unsupervised Face Super-Resolution via Gradient Enhancement and Semantic Guidance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages