KL Divergence: Entropy, Cross Entropy, and Mutual Information in PyTorch
A walkthrough of information entropy, KL divergence, mutual information, and cross entropy — with PyTorch implementations.
Content tagged with "pytorch"
A walkthrough of information entropy, KL divergence, mutual information, and cross entropy — with PyTorch implementations.
How Conditional GANs extend vanilla GANs to generate class-specific samples, and how Pix2Pix does image-to-image translation.
Implementing DCGAN with CNNs, batch normalization, and transposed convolutions to generate Street View House Numbers.
How the adversarial game between Generator and Discriminator works, and why equilibrium matters.
Step-by-step PyTorch implementation of a vanilla GAN trained on MNIST — data loading, Discriminator, Generator, training loop.