brade31919 / SRGAN-tensorflow

Tensorflow implementation of the SRGAN algorithm for single image super-resolution
MIT License
848 stars 284 forks source link

What is the use of “phaseShift” function?? #50

Open toddwyl opened 5 years ago

toddwyl commented 5 years ago

I am reimplement the paper SRGAN in paddlepaddle, I should implement the pixelshuffle function. I dont understand the use of the phaseShift which u implement in https://github.com/brade31919/SRGAN-tensorflow/blob/de8d958186911ebd064e743e624e267a1d22405d/lib/ops.py#L107 Can u help me?

T5eng commented 5 years ago

it is a upsample method from "Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network"