# Checkerboard artefacts vs distinct objects in GANs

I found a very good solution for getting rid of checkerboard artefacts in GANs:

https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/190

Instead of using Transposed Convolution, use bilinear upsampling

                      nn.Upsample(scale_factor = 2, mode='bilinear'),

I replaced padding=0 with padding=1 to keep the same size of the image. The tradeoff, though, is that the Generator doesn't learn to evolve distinct objects as with Transposed Convolution. For example, on Street View House Number (SVHN) dataset, the one on the left was made with Transposed Convolution, the one on the right with Upsampling: