GAN – what and why

GANs are neural networks that learn to generate data similar to real data, or the data in the training set. The key idea of a GAN is to have a generator network and a discriminator network playing against each other: the generator tries to generate data that looks like real data, while the discriminator tries to tell whether the generated data is real (from the known real data) or fake (generated by the generator). The generator and the discriminator are trained together, and during the training process, the generator learns to generate data that looks more and more like real data, while the discriminator learns to distinguish real data from fake data. The generator learns by trying to make the discriminator's probability ...

Get Intelligent Mobile Projects with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.