December 2018
Intermediate to advanced
268 pages
8h 23m
English
The Discriminator class involves similar changes to those seen in Chapter 3, My First GAN in Under 100 Lines. However, there are two significant differences: the if statement in the initialization step and the method for the model instantiation.
Now, let's take a look at a simple discriminator pseudocode example by using the following steps:
#!/usr/bin/env python3imports
class Discriminator(object): def __init__(self, width = 28, height= 28, channels = 1, latent_size=100, ...
Read now
Unlock full access