Closed harpavatkeerti closed 1 year ago
I am very sorry for later reply.
I didn't understand the img_size parameter. I am able to pass any sized image as input and the model gives the output without any error.
You are right, img_size parameter is only used to initial the attention mask before training, if you pass any sized image as input different with img_size, the mask will recomputed without any error.
Are you not using cross-window attention as SwinIR does through shifted windows?
We also use shifted windows, you can find at here.
The outputs which I am getting are decent, but it is not able to produce sharp edges and corners. It seems to be a smooth output, closer to some oil painting. Can you please tell me if there is something wrong with this method?
If your code is implemented correctly, this may be a question worth exploring, we haven't tested our approach on deblur so may not be able to answer for this reason.
I didn't check the issue before because of some things, thank you for your attention to our work!
No issues, thanks a lot for the replies.
Hi, very interesting work, I wonder if a slightly modified architecture can be used for image deblurring also. I tried the following modified model for deblurring 128x128 images
with the simple loss function
The outputs which I am getting are decent, but it is not able to produce sharp edges and corners. It seems to be a smooth output, closer to some oil painting. Can you please tell me if there is something wrong with this method?
I had a couple of other doubts about the model architecture:
Thanks a lot!!!