Home

Awesome

Tackling the Ill-Posedness of Super-Resolution through Adaptive Target Generation

[Paper]

Dependency

First things to do

  1. Clone this repo.
git clone https://github.com/yhjo09/AdaTarget
cd AdaTarget
  1. Download pretrained models and extract it.
unzip models.zip

Test - Isotropic Gaussian Kernels

  1. Download a zip file containing the images of the Gaussian8 test set, and extract it.
unzip Gaussian8.zip
  1. Run.
python test_Iso.py
  1. Output images will be in ./output/Iso.

Test - Random Kernels

  1. Download DIV2KRK test set (from KernelGAN) and unzip the zip file.
unzip DIV2KRK.zip
  1. Run.
python test_RK.py
  1. Output images will be in ./output/RK.

Test - Bicubic Downsampling

  1. Download a zip file contains the images of the Set5, Set14, BSDS100, Urban100, and Manga109 test sets, and extract it.
unzip Bicubic.zip
  1. Run.
python test_Bic.py
  1. Output images will be in ./output/Bic.

Train - Pretraining ATG

Soon

Train - Training SR Net with ATG

  1. Prepare training images.
  1. Prepare validation images.
  1. Specify the pretrained parameters of the localization network to variable PRETRAINED_LOCNET.

  2. Start training.

python train_RK.py

BibTeX

@InProceedings{jo2021adatarget,
   author = {Jo, Younghyun and Oh, Seoung Wug and Vajda, Peter and Kim, Seon Joo},
   title = {Tackling the Ill-Posedness of Super-Resolution through Adaptive Target Generation},
   booktitle = {The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
   month = {June},
   year = {2021}
}

External codes from