16.03.2021 Views

Advanced Deep Learning with Keras

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cross-Domain GANs

Since CycleGAN is symmetric, it also predicts the grayscale image given a color

image. Figure 7.1.10 shows the color to grayscale conversion performed by the two

CycleGAN variations. The target images are from the test dataset. Except for minor

differences in the grayscale shades of some images, the predictions are generally

accurate:

Figure 7.1.9: Colorization using different techniques. Shown are the ground truth, colorization using

autoencoder (Chapter 3, Autoencoders,), colorization using CycleGAN with a vanilla GAN discriminator,

and colorization using CycleGAN with PatchGAN discriminator. Best viewed in color. Original color photo

can be found on the book GitHub repository, https://github.com/PacktPublishing/Advanced-Deep-Learningwith-Keras/blob/master/chapter7-cross-domain-gan/README.md.

[ 226 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!