rajeevyasarla / UMSN-Face-Deblurring

Deblurring Face Images using Uncertainty Guided Multi-Stream Semantic Networks
MIT License
118 stars 34 forks source link

hi, can you share a simple test code just like input a single blur image and output the deblurred one #1

Closed StevenLDZ closed 5 years ago

rajeevyasarla commented 5 years ago

you can follow the instructions in the section "To test UMRL" to test the code datasets provided by authors of Ziyi et al. If you want to run test on your own data. Just provided path to dataset with images naming like 000001.png run the following command python test_face_deblur.py --dataroot ./facades/github/ --valDataroot --netG ./pretrained_models/Deblur_epoch_Best.pth

StevenLDZ commented 5 years ago

thanks for your response,i’ve tested that with my own aligned blur dataset with 128x128 ,point dataroot、valDataroot to the dataset path,but the results is not as good as the paper,maybe the input is not correct?

rajeevyasarla commented 5 years ago

Is the input is just blurry image of size 128x128? Did you re-train the network or using the pre-trained model?

StevenLDZ commented 5 years ago

yes,aligned 128x128 faces after face detection,i used the pre-trained model

rajeevyasarla commented 5 years ago

you can send me link to sample images of your test dataset to ryasarl1@jhu.edu. I will have a look at it and get back you

westpilgrim commented 5 years ago

hi ,have you solved the problem of bad results?

rajeevyasarla commented 5 years ago

I didn't receive any email from StevenLDZ. But the network is fine it's giving me the good results. Let me know if you face the same issue of bad results