image-deblurring-using-deep-learning icon indicating copy to clipboard operation
image-deblurring-using-deep-learning copied to clipboard

Training and test use different blur parameters

Open KMCzajkowski opened this issue 3 years ago • 1 comments

Hi, could you explain why add_gaussian_blur.py uses 51x51 kernel: https://github.com/sovit-123/image-deblurring-using-deep-learning/blob/master/src/add_gaussian_blur.py#L13 but testing (https://github.com/sovit-123/image-deblurring-using-deep-learning/blob/master/src/add_gaussian_blur_test_image.py#L18) uses 15x15 kernel? I tried training when they are both the same, but the results are bad in this case.

KMCzajkowski avatar Sep 15 '22 14:09 KMCzajkowski

@KMCzajkowski The add_gaussian_blur.py script was used to generate the training data. But the add_gaussian_blur_test_image.py is used to generate blurry images for inference. So, it can be any value of our choice. You can test on (51, 51) blurred images as well.

sovit-123 avatar Sep 15 '22 15:09 sovit-123