DeblurGAN
DeblurGAN copied to clipboard
Are the generator weights are only kept in the "test" runtime code in this repo or We have to take care of it?
-
"Download weights from Dropbox . Note that during the inference you need to keep only Generator weights". Are the generator weights are only kept in the "test" runtime code in this repo or We have to take care of it?
-
Also once we run test.py, it generates the results folder with "fake" and "real" image. I undestand the fake as a deblurred image. Is that right?
-
The result images generated are below. The fake_b is still blur. Any problem with the dropbox weights? Anyone got the same results?
Real:
Generated Fake:
@KupynOrest
I'm having the same problem. Have you figured out what's the issue?
You need to put the Generator weights into the appropriate place and load the model in test time. After that, the 'fake' output should be deblurred version of the image. If you would experience any problems with that process, feel free to send me the message
Hi @KupynOrest, thanks for the quick reply. After changing the option --resize_or_crop to no_change in order to keep the output file as the same size as my input files, I find your code works for images with pixel sizes less than 256px. When I tried with your example image without any cropping, the output is still blurry like what @abhishekvahadane showed. I've included the results below as well. First image is the input, second image is the output of the GAN.
Hi @KupynOrest, thanks for the quick reply. After changing the option --resize_or_crop to no_change in order to keep the output file as the same size as my input files, I find your code works for images with pixel sizes less than 256px. When I tried with your example image without any cropping, the output is still blurry like what @abhishekvahadane showed. I've included the results below as well. First image is the input, second image is the output of the GAN.
I have the same problem with you,the image of result is still blur,just like the generator doesn't work
@KupynOrest thank you for the project first,then i need to change a blur image to be clean,but when i run the test.py,the result has two images .one is real,another is fake,but both is blurred,and the size is changed to 256*256,i do not know the reason,please give us a guide,big thanks.