forked from joanshen0508/Deep-Semantic-Face-Deblurring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
40 lines (23 loc) · 1.05 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
The code is implementation code for the following paper:
Ziyi Shen, Wei-sheng Lai, Tingfa Xu, Jan Kautz and Ming-Hsuan Yang
Deep Semantic Face Deblurring
IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018
Requirements
MATLAB (We test with MATLAB R2016a on Windows 10)
Test Pre-trained Models
Compile matconvnet:
>> cd matconvnet-1.0-beta22/matlab
>> vl_compilenn('enableGpu', 1, 'enableCudnn', 1)
>> cd ../../
We provide the matconvnet in,
./DL_deblur_net./matconvnet-1.0-beta22./matlab
Run 'main_deblur18.m' to test the example.png
or
You also can run 'main_deblur_all.m' to test the blur images in ./blur_image and ./real_blur_image.
In addition, the whole testing datasets have been released on our project website
https://sites.google.com/site/ziyishenmi/cvpr18_face_deblur
We provide two models here.
1. net_G_P_S_F_GAN and net_P_P_S_F_GAN
Our model with L1 loss + parsing Loss + structure loss +feathure loss
2. net_G_P_S_F and net_G_P_S_F
Our model with L1 loss + parsing Loss + structure loss + feathure loss + adversarial loss