The code is based on the official Pytorch implementation of Deep Decoders available here.
The repository contains a Tensorflow implementation of Deep Decoders, as described in the paper Deep Decoder: Concise Image Representations from Untrained Non-convolutional Networks, Reinhard Heckel and Paul Hand, ICLR 2019.
- The code has been tested with
Tensorflow 1.12andPython 3.5+. Other dependecies includenumpy,matplotlibandskimage(for reading/saving images only). - The
upsample_firstargument in the decoder is inverted, to better match its meaning (i.e., whenTrue, the upsampling operation occurs before the linear combination of channels) - Currently the PSNR values are often slightly lower than the original implementation (possibly due to a different behavior in
tf.image.resize_bilinearor some other error) LBFGSoptimizer andweight decayare not implemented (but also not used in any of the present notebooks)