kostyaev / ICNR

Convolution NN resize initialization for subpixel convolutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkerboard artifact free sub pixel convolution initialization

Tensorflow implementation of ICNR initialization used in https://arxiv.org/pdf/1707.02937.pdf

screenshot

Updated for TF v2.4.

Usage example:

Wrap up your initialization with ICRN and you are ready to go:

layers.Conv2DTranspose(..., strides=scale, kernel_initializer=ICNR(GlorotUniform(), scale))

About

Convolution NN resize initialization for subpixel convolutions

License:MIT License


Languages

Language:Jupyter Notebook 87.3%Language:Python 12.7%