xinntao / ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
https://github.com/xinntao/BasicSR
Apache License 2.0
5.91k stars 1.05k forks source link

下采样generate_mod_LR_bic.py #65

Open WANG-1173 opened 5 years ago

WANG-1173 commented 5 years ago

您好,由于一些原因我无法使用matlab,如果使用.py生成LR图片的话,我试了一下,mod/文件夹下会有HR LR BIC三个子文件夹,那哪个文件夹的图片是和.m生成的下采样图片是一样的啊,因为BIC文件夹的图片分辨率和HR是一样大小的,是用LR的图片么? 还有一个问题是如果我使用自己的图片训练测试的话,是用Basic的test.py还是ESRGAN的test.py,权重是用训练生成的/experiments/debug_002_RRDB_ESRGAN_x4_DIV2K/models的G.pth还是D.pth

刚开始接触,希望您可以理解并看到我的问题,不胜感激!

xinntao commented 5 years ago
  1. The images in the LR folder is similar to those generated by MATLAB.
  2. You can use both test scripts. Their outputs should be the same.
  3. G.pth is used for inference. D.pth is useless during testing.
WANG-1173 commented 5 years ago

Thank you very much for your reply. It has benefited a lot.