项目作者: Zheng222

项目描述 :
Progressive Perception-Oriented Network for Single Image Super-Resolution (Information Sciences 2021)
高级语言: Python
项目地址: git://github.com/Zheng222/PPON.git
创建时间: 2019-07-23T12:27:49Z
项目社区:https://github.com/Zheng222/PPON

开源协议:

下载


PPON

Pytorch implemention of “Progressive Perception-Oriented Network for Single Image Super-Resolution”

[arXiv]
[Information Sciences]









The schematics of the Progressive Perception-Oriented Network





The example results




Visualization of intermediate feature maps




The inference architecture of our PPON.






Testing

Pytorch 1.1

  • Download PIRM_dataset and unzip it into folder Test_Datasets
  • Download Checkpoint and put them into folder ckpt
  • Run testing:
    1. python test_PPON.py --test_hr_folder Test_Datasets/PIRM_Val/ --test_lr_folder Test_Datasets/PIRM_Val_LR/

Training

  • Download DF2K (DIV2K + Flickr2k) training datasets and rename the images to 00xxxx.png (e.g., 003450.png)
  • Convert png file to npy file
    1. python scripts/png2npy.py --pathFrom /path/to/DF2K/ --pathTo /path/to/DF2K_decoded/
  • Run training x4 model (stage 1, content)
    1. python train.py --nEpochs 1000 --test_every 690 --which_model "content" --lr_steps [200, 400, 600, 800] --save_path 'ckpt_stage1'
    (stage 2, structure)
    1. python train.py --nEpochs 300 --test_every 138 --which_model "structure" --pixel_weight 0 --structure_weight 1 --lr_steps [100, 150, 200, 250] --save_path 'ckpt_stage2'
    (stage3, perceptual)
    1. python train.py --nEpochs 300 --test_every 138 --which_model "perceptual" --pixel_weight 0 --feature_weight 1 --gan_weight 0.005 --lr_steps [100, 150, 200, 250] --save_path 'ckpt_stage3'

PI VS LPIPS

PI-VS-LPIPS
As illustrated in the above picture, we can obviously see that the PI score of EPSR3 (2.2666) is even better than HR (2.3885), but EPSR3 shows unnatural and lacks proper texture and structure.

Example Results

Perceptual-results-1
Perceptual-results-2

Citation

If you find PPON useful in your research, please consider citing:

  1. @article{Hui-PPON-2019,
  2. title={Progressive Perception-Oriented Network for Single Image Super-Resolution},
  3. author={Hui, Zheng and Li, Jie and Gao, Xinbo and Wang, Xiumei},
  4. journal={arXiv:1907.10399v1},
  5. year={2019}
  6. }
  7. @article{Hui-PPON-2021,
  8. title={Progressive Perception-Oriented Network for Single Image Super-Resolution},
  9. author={Hui, Zheng and Li, Jie and Gao, Xinbo and Wang, Xiumei},
  10. journal={Information Sciences},
  11. volume = {546},
  12. pages = {769-786},
  13. year={2021}
  14. }