Skip to Content
Advanced Deep Learning with Python
book

Advanced Deep Learning with Python

by Ivan Vasilev
December 2019
Intermediate to advanced content levelIntermediate to advanced
468 pages
14h 28m
English
Packt Publishing
Content preview from Advanced Deep Learning with Python

Training the generator

We'll train the generator by making it better at deceiving the discriminator. To do this, we'll need both networks, similar to the way we trained the discriminator with fake samples:

  1. We start with a random latent vector, z, and feed it through both the generator and discriminator to produce the output, .
  2. The loss function is the same as the discriminator loss. However, our goal here is to maximize rather than minimize it, since we want to deceive the discriminator.
  3. In the backward pass, the discriminator weights, , are ...
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.
Start your free trial

You might also like

Hands-On Deep Learning Algorithms with Python

Hands-On Deep Learning Algorithms with Python

Sudharsan Ravichandiran
Python Deep Learning - Second Edition

Python Deep Learning - Second Edition

Ivan Vasilev, Daniel Slater, Gianmario Spacagna, Peter Roelants, Valentino Zocca

Publisher Resources

ISBN: 9781789956177Supplemental Content