deblur-gan
deblur-gan copied to clipboard
Something worng with testing my own image
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.),
Is there any thing wrong?Hope you help,thanks!
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!
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!
@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
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")