Maclory / SPSR

Pytorch implementation of Structure-Preserving Super Resolution with Gradient Guidance (CVPR 2020 & TPAMI 2021)
448 stars 83 forks source link

There is no difference between LR and SR #22

Closed Pinnh closed 4 years ago

Pinnh commented 4 years ago

There is no difference between LR and SR , when I test the model you provide which in BaiduCloud Is there anything wrong?

Input: a

Output: a

Log detail:

export CUDA_VISIBLE_DEVICES=0 20-08-24 14:23:53.230 - INFO: name: SPSR model: spsr scale: 4 gpu_ids: [0] datasets:[ test_1:[ name: set5 mode: LR dataroot_LR: ../images/ phase: test scale: 4 data_type: img ] ] path:[ root: ./ pretrain_model_G: ../SPSR/spsr.pth results_root: ./results/SPSR log: ./results/SPSR ] network_G:[ which_model_G: spsr_net norm_type: None mode: CNA nf: 64 nb: 23 in_nc: 3 out_nc: 3 gc: 32 group: 1 scale: 4 ] is_train: False

20-08-24 14:23:53.231 - INFO: Dataset [LRDataset - set5] is created. 20-08-24 14:23:53.231 - INFO: Number of test images in [set5]: 1 20-08-24 14:24:01.398 - INFO: Loading pretrained model for G [../SPSR/spsr.pth] ... 20-08-24 14:24:02.428 - INFO: Model [SPSRModel] is created. 20-08-24 14:24:02.429 - INFO: Testing [set5]... 20-08-24 14:24:03.315 - INFO: a

Maclory commented 4 years ago

Hi, thank you for your interest in our work. It can be observed that there are checkerboard artifacts in the output image. So I think this may be caused by the JPEG format since such artifacts are typical of the JPEG images.