Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
October 13, 2020 18:15
September 14, 2020 15:07
September 14, 2020 15:30
October 13, 2020 18:18
September 23, 2020 21:41
July 18, 2020 01:03
December 28, 2021 12:37

PAN [ 272K parameters]

Lowest parameters in AIM2020 Efficient Super Resolution.

Paper | Video

Efficient Image Super-Resolution Using Pixel Attention

Authors: Hengyuan Zhao, Xiangtao Kong, Jingwen He, Yu Qiao, Chao Dong



  • Our codes version based on mmsr.
  • This codes provide the testing and training code.

How to Test

  1. Clone this github repo.
git clone
cd PAN
  1. Download the five test datasets (Set5, Set14, B100, Urban100, Manga109) from Google Drive

  2. Pretrained models have be placed in ./experiments/pretrained_models/ folder. More models can be download from Google Drive.

  3. Run test. We provide x2,x3,x4 pretrained models.

cd codes
python -opt option/test/test_PANx4.yml

More testing commonds can be found in ./codes/ file. 5. The output results will be sorted in ./results. (We have been put our testing log file in ./results) We also provide our testing results on five benchmark datasets on Google Drive.

How to Train

  1. Download DIV2K and Flickr2K from Google Drive or Baidu Drive

  2. Generate Training patches. Modified the path of your training datasets in ./codes/data_scripts/ file.

  3. Run Training.

python -opt options/train/train_PANx4.yml
  1. More training commond can be found in ./codes/ file.

Testing the Parameters, Mult-Adds and Running Time

  1. Testing the parameters and Mult-Adds.
  1. Testing the Running Time.

Related Work on AIM2020

Enhanced Quadratic Video Interpolation (winning solution of AIM2020 VTSR Challenge) paper | code



If you find our work is useful, please kindly cite it.

  title={Efficient image super-resolution using pixel attention},
  author={Zhao, Hengyuan and Kong, Xiangtao and He, Jingwen and Qiao, Yu and Dong, Chao},
  booktitle={European Conference on Computer Vision},