greatlog / DAN

This is an official implementation of Unfolding the Alternating Optimization for Blind Super Resolution
231 stars 41 forks source link

About testing on real image. #23

Closed MeLonJ10 closed 3 years ago

MeLonJ10 commented 3 years ago

Hi, it's definitely a fantastic work. About testing on real image, I am confused. According to your paper, the SR model inferencing on real image is trained with AWGN. However, in codes/config/DANv1/inference.py, SR model is the same with that of setting1. I also tested it (with inference.py) on image captured by my own device. The result is quite blur. Is there any misunderstanding. Thanks a lot.

greatlog commented 3 years ago

In fact, super-resolution on real images is a quite challenging task. The provided test images may consist of noise, blurring, JEPG compressing defects, and so on. The provided model considers only noise and uniform blurring, which may still leave to be desired in practice. It may work in some cases but is likely to fail on an image randomly downloaded from the website.

Actually, The test image 'chip' is relatively clean and consists of little noise. Thus the model trained on Setting 1 is good enough to produce a visually pleasing result on this image.

There is still a long way to go for practical SR.

MeLonJ10 commented 3 years ago

I agree with your opinion about realistic super-resolution. In a deep alternating network, there are several restorers to super-resolve the input LR image. Do the restorers share the same weight? Thanks!

greatlog commented 3 years ago

Yes, the Restorer and Estimator share their weights among all iterations.

CodeMadUser commented 1 year ago

Hi, it's definitely a fantastic work. About testing on real image, I am confused. According to your paper, the SR model inferencing on real image is trained with AWGN. However, in codes/config/DANv1/inference.py, SR model is the same with that of setting1. I also tested it (with inference.py) on image captured by my own device. The result is quite blur. Is there any misunderstanding. Thanks a lot.

hello, I couldn't save the test results when I was testing the real image, I don't know what went wrong, hope to get a reply. thank you. image No result is produced after the execution of the code. Do you have any suggestions? image