DeblurGAN icon indicating copy to clipboard operation
DeblurGAN copied to clipboard

how can i generate blurred image

Open mwk0423 opened this issue 6 years ago • 3 comments

hi ,thanks to the author share the code i want to make dataset to train but when i run the blur_image.py there were nothing saved although i modify the folder_to_save , how can i generate the blurred image? i'm appreciate for some guide

mwk0423 avatar Dec 28 '18 07:12 mwk0423

hi ,thanks to the author share the code i want to make dataset to train but when i run the blur_image.py there were nothing saved although i modify the folder_to_save , how can i generate the blurred image? i'm appreciate for some guide

Have you solved this problem?

Tangyuny avatar Jun 13 '19 02:06 Tangyuny

I am facing the same problem..

umar1992 avatar Aug 12 '19 08:08 umar1992

hi ,thanks to the author share the code i want to make dataset to train but when i run the blur_image.py there were nothing saved although i modify the folder_to_save , how can i generate the blurred image? i'm appreciate for some guide

You set "save=True", don't you? os.path.join(self.path_to_save, self.image_path.split('\')[-1]) I modified this line, and this line produce the path for saving, and self.image_path.split('\')[-1] is image name from sharp image path. I could save them, but my new problem is the image is just black, which is nothing.

pygabc1 avatar Mar 15 '20 07:03 pygabc1