DeblurGAN icon indicating copy to clipboard operation
DeblurGAN copied to clipboard

the effect of debluring is far away from the photo shown in the homepage

Open UCAS-GYX opened this issue 5 years ago • 5 comments

I keep the Generator weights provided in the file and run the model. When I use the test photo chosen from the go pro dataset, or put it another way, the photo about blurred car, it works. However,when I use other sample, for example, the photo in the homepage. I get the poor result. test2_blur_fake_B test2_blur_real_A

UCAS-GYX avatar Apr 16 '19 07:04 UCAS-GYX

I got the same result when running the test model with blur image download from internet. The result is very bad.

hiendoan95 avatar Jul 19 '19 08:07 hiendoan95

@hiendoan95 could you give me some installation notes. I got a lot of trouble while try to run test.py I saw some guys told that we need to use pytorch 0.3.1 but I got AttributeError: module 'torch.nn' has no attribute 'ModuleDict'

doduythao avatar Jul 24 '19 13:07 doduythao

@doduythao I have no problem with my pytorch version (1.1.0) so I don't think you need to change. Let me show you some modifications I did to fix the errors:

  • Use python 3 for running test code
  • If you got the error with SSIM, this issue will help #9
  • Can fix the SingleDataSet error with this issue #138

hiendoan95 avatar Jul 24 '19 13:07 hiendoan95

yah, thanks. but #138 might be the reason why the result is different from what paper showed.

doduythao avatar Jul 26 '19 04:07 doduythao

@mozhisisheng Have you find the reason of it?I have encountered the same situation with you.The result of my output of the picture is as fllows: individualImage

QYD123 avatar Oct 15 '19 07:10 QYD123