Caffe implementation of "Fast and Accurate Single Image Super-Resolution via Information Distillation Network"
- Install Caffe, Matlab R2013b
- Run testing:
$ cd ./test
$ matlab
>> test_IDNNote: Please make sure the matcaffe is complied successfully.
./test/caffemodel/IDN_x2.caffemodel, ./test/caffemodel/IDN_x3.caffmodel and ./test/caffemodel/IDN_x4.caffemodel are obtained by training the model with 291 images, and ./test/caffemodel/IDN_x4_mscoco.caffemodel is got through training the same model with mscoco dataset.
The results are stored in "results" folder, with both reconstructed images and PSNR/SSIM/IFCs.
- step 1: Compile Caffe with
train/include/caffe/layers/l1_loss_layer.hpp,train/src/caffe/layers/l1_loss_layer.cppandtrain/src/caffe/layers/l1_loss_layer.cu - step 2: Run
data_aug.mto augment 291 dataset - step 3: Run
generate_train_IDN.mto convert training images to hdf5 file - step 4: Run
generate_test_IDN.mto convert testing images to hdf5 file for valid model during the training phase - step 5: Run
train.shto train x2 model
If you find IDN useful in your research, please consider citing:
@inproceedings{Hui-IDN-2018,
title={Fast and Accurate Single Image Super-Resolution via Information Distillation Network},
author={Hui, Zheng and Wang, Xiumei and Gao, Xinbo},
booktitle={CVPR},
pages = {723--731},
year={2018}
}