Me practicing generative adversarial networks.
- Make sure you are using Python 3
pip -r install requirements.txt
python main.py
The code will train the model and print out the generator's loss as well as the discriminator's accuracy for each epoch. You want both of them to be small: that means that the images generated by the generator are realistic (discriminator classifies generator's images as real). After the training 8 sample pictures by the trained generator will be shown.
- Use a more interesting dataset
- Do some cool parameter tweaking like this
- Learn a new network model, maybe CGANS
- Use labels when training the discriminator
Understanding Generative Adversarial Networks by Naoki Shibuya (I use his network architecture and training loop)