A simple implementation of DCGAN on CIFAR10 dataset.
-
Install all requirements by
pip install -r requirements.txt
-
Run the following command to train the generator and discriminator. The dataset will be downloaded automatically.
python -u main.py
-
Visualize the fake images by setting is_train = False in main.py.
-
To visualize the performance in training, run the following command.
tensorboard --logdir=/your/summary/path
After training for 30 epochs on CIFAR10 dataset with the batch size of 128: