-
About GAN
- GANs is a framework for teaching DL model to capture data’s distribution so we can generate new data from that same distribution.
- The job of the generator is to spawn ‘fake’ images that look like the training images.
- The job of the discriminator is to look at an image and output whether or not it is a real training image or a fake image from the generator.
- The equilibrium of this game is when the generator is generating perfect fakes that look as if they came directly from the training data, and the discriminator is left to always guess at 50% confidence that the generator output is real or fake.
- D(x) is the discriminator network which outputs the (scalar) probability that x came from training data rather than the generator. D(x) can also be thought of as a traditional binary classifier.
- (z) represents the generator function which maps the latent vector z to data-space. The goal of G is to estimate the distribution that the training data comes from (pdata) so it can generate fake samples from that estimated distribution (pg).
- G play a minimax game in which D tries to maximize the probability it correctly classifies reals and fakes (logD(x)), and G tries to minimize the probability that D will predict its outputs are fake (log(1−D(G(x)))).
- In t
pytorch tutorial -- DCGAN
最新推荐文章于 2024-05-09 13:50:09 发布