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.
Comming Soon.
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 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
More IMDB resutls can be found here.
Code borrows heavily from pix2pix. Thanks for their excellent work!
<script type="text/javascript" id="clustrmaps" src="//cdn.clustrmaps.com/map_v2.js?d=XOHUlmZECsPn5KauwWskLJQe0WlqfU-MonrNi7RkHk8&cl=ffffff&w=a"></script>