deblur-gan icon indicating copy to clipboard operation
deblur-gan copied to clipboard

Something worng with testing my own image

Open lx492008 opened this issue 5 years ago • 4 comments

Thanks for sharing your code! I got something wrong when test my own image. First, I changed the upsampling method in model.py to the older type to fix you gentrator.h5 ,Then I test a image and got this picture(There are many black stripes in the picture.), image Is there any thing wrong?Hope you help,thanks!

lx492008 avatar Sep 20 '18 03:09 lx492008

hello,how to test my own picture? I used this command python scripts/deblur_image.py --image_path='/home/deblur-gan-master/test_image/000001.png' And anything wrong with it? Hope you help,thanks!

yff0815 avatar Dec 06 '18 11:12 yff0815

And then it will be an error below FileNotFoundError: [Errno 2] No such file or directory: '/test_image/000001.png' IsADirectoryError: [Errno 21] Is a directory: 'test_image' Hope you help,thanks!

yff0815 avatar Dec 06 '18 12:12 yff0815

@lx492008 i have the same question, i want to delete the preprocess function and depreprocess one but i show there are a error of dimensions

hala3 avatar Jan 21 '19 10:01 hala3

And then it will be an error below FileNotFoundError: [Errno 2] No such file or directory: '/test_image/000001.png' IsADirectoryError: [Errno 21] Is a directory: 'test_image' Hope you help,thanks!

you shuld modify scripts/deblur_image.py in im.save('deblur'+image_path)===<< im.save("your ouput path")

daixiangzi avatar May 13 '19 14:05 daixiangzi