Takes a number and generates the images of those numbers. Trained on MNIST using DCGAN(Deep Convolutional GAN) .
Notebook has been created with markdowns and comments to make it self-explainable. Still, I'll try uploading a detailed explanation of the code.
If the given number is 85481, we convert that to [8,5,4,8,1] and create a batch of numbers and pass it through generator. Images generated for each number are stitched through matplotlib. Output for 85481 is
Generator outputs during Training
Refer to this article for a better understanding of GANs.
[1] O'Shea, O'Shea Research MNIST GAN