ZSSR icon indicating copy to clipboard operation
ZSSR copied to clipboard

Can't reproduce the performance on real_example charlie.png

Open back2yes opened this issue 6 years ago • 5 comments

Hi, I ran the code run_ZSSR_single_input.py on charlie.png but the results seemed to be about the same with EDSR, this is what I ran:

python run_ZSSR_single_input.py real_example/charlie.png 0 0 0 X2_GRADUAL_IDEAL_CONF output_real

I am wondering if I misunderstood the code?

back2yes avatar Nov 16 '18 15:11 back2yes

Hi, You ran a real image (non-ideal) with ideal conf. To run on this particular image, just run: python run_ZSSR.py X2_REAL_CONF

assafshocher avatar Nov 16 '18 22:11 assafshocher

Thank you for your help, I tried X2_REAL_CONF but the result seemed to be the same

This is what I get https://pbs.twimg.com/media/DsKk6i7VsAAL8XW.jpg:large, could you help to judge if this result is correct?

back2yes avatar Nov 17 '18 00:11 back2yes

Hi, please make sure the kernel .mat file exists and that you don't get a message that no kernel is used when running.

assafshocher avatar Dec 18 '18 11:12 assafshocher

Same problem here.

CurryYuan avatar Feb 13 '20 04:02 CurryYuan

@back2yes, @CurryYuan First, which Python version do you use? ZSSR is made for py2 (unfortunately). If you run it with py3, and modified, you may have problems with some divisions ( / ) in the resizing. This is slovable and stable py3 versions exist. let me know. Second, have you seen the kernel loaded during the ZSSR run? When it is loaded, this line prints the kernel file path. However, if no kernel supplied then this line prints "no kernel loaded".

assafshocher avatar Feb 13 '20 09:02 assafshocher