Open In Colab

Imports

we are importing different libraries required for the tutorial here.

You will mostly familier with most of libraries above; except code-soup ; Link for the repo is here

lets download the data from tochvision, and then with DataLoader class of torch.utils.data module; we will make different batches of the data having BATCH_SIZE images in each batch

refer this if having difficulty understanding next cell

Create an instance of GAN class with appropriate parameters;

Training Loop

To see the Logs; first load tensorflow extension