Starting the GAN!

First, we feed the noise to the generator and it will output the fake image, :

fake_x = generator(z)

Now we feed the real image to discriminator and get the probability of the real image being real:

D_logits_real = discriminator(x)

Similarly, we feed the fake image to discriminator and get the probability of the fake image being real:

D_logits_fake = discriminator(fake_x,reuse=True)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset