Getting Ready...
From Chapter 4, Convolutional Neural Network, you had learned that, as convolutional layers are added, the information passed to the next layer reduces in spatial extent, but in an autoencoder, the reconstructed image should be of the same size and depth as the input image. This implies that the decoder should somehow do both image resizing and convolution to reconstruct the original image. One way of increasing the spatial extent along with convolution is with the help of transposed convolution layers. These are easily implemented in TensorFlow by tf.nn.conv2d_transpose, but it was found that transposed convolution layers result in artefacts in the final image. Augustus Odena et al. [1], in their work, showed that these ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access