Skip to content

Tensorflow implementation of ‘Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network’

Notifications You must be signed in to change notification settings

qiaopTDUN/SR-ESPCN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SR-ESPCN

Tensorflow implementation of ‘Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network’. We only implement the x4 single image super-resolution. We are not intended to reproduce the performace reported in [1], just implement it for fun. Therefore, we have not verified the performance of the trained model, and compared it with performance in [1]. This implementation is based on the Tensorlayer implementation, but our implementation of EPSCN is only depend on Tensorflow and Slim.

Windows7 / Ubuntu 14.04 + CUDA8.0 + CUDNN 5.1 + Tensorflow 1.4

run main.py

Before run, please prepare the training dataset. We have tried ImageNet and DIV2K. For ImageNet data, one can follow the description in [1] to prepare the dataset. Dirty image should be carefully handled. For DIV2K, one just use the training set. Then, modify the Line 13 to 28 in main.py to the parameters you want to try.

Train

set 'is_train' to True.

set 'batch_size' to fit your GPU memory, larger is better.

set 'image_size' to fit your GPU memory, larger is better, but harder to train.

It may take some time before the training is done.

Test

set 'is_train' to False

[1] W. Shi, J. Caballero, F. Huszar, J. Totz, A. P. Aitken, R. Bishop, D. Rueckert, and Z. Wang. Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1874–1883, 2016.

About

Tensorflow implementation of ‘Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network’

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages