This is the code I made a while ago. There will definitely be better code in other repositories. If you want to use conditional DCGAN now, I recommend looking for other good repositories. o( ̄▽ ̄)o
- Paper:
- Pytorch DCGAN Example: github
- CelebA Dataset: http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html
- We will use the img_align_celeba dataset.
- python GAN.py --dataset_dir='dataset dir' --result_dir='result dir'
- example: python GAN.py --dataset_dir=./celeba --result_dir=./celeba_result
- dataset example
- ./celeba/celeba/000000.jpg
- ./celeba/celeba/000001.jpg
- ...