A pytorch implementation of DCGAN "Deep Convolutional Generative Adversarial Networks"
for practice pytorch by reference to DCGAN Tutorial
cd PATH
mkdir _output
mkdir _model
python main.py --opt train
you should set the parameter in main.py (i.e., epoch, batch_size, worker, and so on) and the dataset is CelebA in default. You can download img_align_celeba.zip in Google Drive, then unzip the images into ./_data/img_align_celeba/ you can modify the path in main.py also. While training, you can check the image in ./_output folder, and you can get the checkpoint file in ./_model every 2 epoch.
python main.py --opt test
You can download the checkpoint file for four epoch in here