jiangsutx/SRN-Deblur

Questions about test pictures

Closed this issue · 5 comments

I used my own test picture and the pre-processing model provided by the author for testing, but the picture of the final result could not be opened for viewing, I wonder what is the reason

Please at least provide some error messages for others to help you.

And the code is totally open-source with Python.
You can check whether you image is correctly loaded, and whether the network produces correct output.

图片
I used my own test picture and the pre-processing model provided by the author for testing but failed,could you help me solve the problem

I am experiencing the same problem.

May be the size required for the image

This network uses encoder-decoder-like structure, the images are first downsampled and then upsampled to original size.
So in this process, the input size should be multiples of some power of 2.
I think it is better to first pad the image to multiples of 16, and then feed into network. The output will be correct.

I will try to put a bugfix patch in test() function.