Skip to content

SiGAN: Siamese Generative Adversarial Network for Identity-Preserving Face Hallucination

Notifications You must be signed in to change notification settings

jesse1029/SiGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiGAN

SIGAN

The implementation of paper Chih-Chung Hsu, Chia-Wen Lin, Weng-Tai Su, Gene Cheung, SiGAN: Siamese Generative Adversarial Network for Identity-Preserving Face Hallucination, published in IEEE Transactions on Image Processing (TIP) 2019. Please cite if you use our code on your research.

We modify the code forked from https://github.com/david-gpu/srez to implement pairwise learning architecture for face hallucination.

Reqirements

Tensorflow 1.13~ 1.08. Not support tensorflow 2.0 yet.

Pretrained Model

The trained model for super-resolve 32x32 to 128x128 image can be downloaded from https://drive.google.com/file/d/1qvWqsRfP2hZrZzXOG4NmZRuxb7fHkFAe/view?usp=sharing

How to use

Create a conda env

1.Install Anaconda3 and create a python3.6 env by

conda create -n sigan python=3.6 source activate sigan

2.Install tensorflow-gpu package by

conda install tensorflow-gpu==1.12

3.install jupyter package by

conda install jupyter jupyter notebook --ip="your ip" --port=your_port

4.In the Browser shown in your system, open and run

srez_train_sia.ipynb

Testing your own image with trained model

Under the jupyter notebook, you can run the following notebook to see the result.

test_sia.ipynb

Or directly run

python SRDemo.py

to produce the super-resolved images sized of 128x128 from LR inputs 32x32.

Dataset

Our dataset is based on "CASIA-WebFaces".

Citation

@ARTICLE{8751141,
author={C. {Hsu} and C. {Lin} and W. {Su} and G. {Cheung}},
journal={IEEE Transactions on Image Processing},
title={SiGAN: Siamese Generative Adversarial Network for Identity-Preserving Face Hallucination},
year={2019},
volume={28},
number={12},
pages={6225-6236},
keywords={face recognition;image reconstruction;image representation;image resolution;iterative methods;learning (artificial intelligence);SiGAN;Siamese generative adversarial network;identity-preserving face hallucination;generative adversarial networks;high-quality high-resolution;identity preservation;identical generators;reconstruction error;identity label information;loss function;generator pair;face reconstruction;identity recognition;objective face verification performance;visual-quality reconstruction;unseen identities;face hallucination GAN;Siamese GAN;Face;Image reconstruction;Face recognition;Training;Generators;Image resolution;Generative adversarial networks;Face hallucination;convolutional neural networks;generative adversarial networks;super-resolution;generative model},
doi={10.1109/TIP.2019.2924554},
ISSN={},
month={Dec},}

About

SiGAN: Siamese Generative Adversarial Network for Identity-Preserving Face Hallucination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published