- Notifications
You must be signed in to change notification settings - Fork95
The source code of CVPR17 'Generative Face Completion'.
License
Yijunmaverick/GenerativeFaceCompletion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Matcaffe implementation of our CVPR17paper on face completion.
In each panel from left to right: original face, masked input, completion result.- We use thecaffe-for-cudnn-v2.5.48. Please referCaffe for more installation details.
- Basically, you need to first modify theMATLAB_DIR in Makefile.config and then run the following commands for a successful compilation:
make all -j4make matcaffe
Follow theDCGAN to prepare the data (CelebA). The only differece is that the face we cropped is of size 128x128. Please modify Line 10 in theircrop_celebA.lua file. We use the standard train&test split of theCelebA dataset.
Modify the training data path in ./matlab/FaceCompletion_training/GFC_caffeinit.m file.
Download our face parsing modelModel_parsing and put it under ./matlab/FaceCompletion_training/model/ folder.
We provide an initialmodel that is only trained with the reconstruction loss, as a good start point for the subsequent GAN training. Please download it and put it under ./matlab/FaceCompletion_training/model/ folder.
Run ./matlab/FaceCompletion_training/demo_GFC_training.m for training.
- Download our face completion modelModel_G and put it under ./matlab/FaceCompletion_testing/model/ folder.
- Run ./matlab/FaceCompletion_testing/demo_face128.m for completion. TestImages are from the CelebA test dataset.
@inproceedings{GFC-CVPR-2017, author = {Li, Yijun and Liu, Sifei and Yang, Jimei and Yang, Ming-Hsuan}, title = {Generative Face Completion}, booktitle = {IEEE Conference on Computer Vision and Pattern Recognition}, year = {2017}}
About
The source code of CVPR17 'Generative Face Completion'.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.