Torch implementation for Learning Warped Guidance for Blind Face Restoration
Overview of our GFRNet. The WarpNet takes the degraded observation and guided image as input to predict the dense flow field, which is adopted to deform guided image to the warped guidance. Warped guidance is expected to be spatially well aligned with ground-truth. Thus the RecNet takes warped guidance and degradated observation as input to produce the restoration result.
th test.lua
Download the pre-trained model with the following url and put it into ./checkpoints/FaceRestoration/.
The first row is real low quality image(close-up in right bottom is the guided image). The second row is GFRNet result.
The content marked with green box is the restoration results by our GFRNet. All of these images are collected from Internet Movie Database (IMDb).
Input | Guided Image | Bicubic | GFRNet Results |
---|---|---|---|
Code borrows heavily from pix2pix. Thanks for their excellent work!
@InProceedings{Li_2018_ECCV,
author = {Li, Xiaoming and Liu, Ming and Ye, Yuting and Zuo, Wangmeng and Lin, Liang and Yang, Ruigang},
title = {Learning Warped Guidance for Blind Face Restoration},
booktitle = {The European Conference on Computer Vision (ECCV)},
month = {September},
year = {2018}
}