Skip to content

A pytorch implementation of DCGAN "Deep Convolutional Generative Adversarial Networks"

Notifications You must be signed in to change notification settings

byeongjokim/DCGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCGAN

A pytorch implementation of DCGAN "Deep Convolutional Generative Adversarial Networks"

for practice pytorch by reference to DCGAN Tutorial

Training

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.

Testing

python main.py --opt test

Results

You can download the checkpoint file for four epoch in here

in 0 epoch and 100 iterations in 0 epoch and 200 iterations in 0 epoch and 400 iterations in 0 epoch and 600 iterations in 0 epoch and 800 iterations
after 1 epochs after 2 epochs after 3 epochs after 4 epochs after 5 epochs

About

A pytorch implementation of DCGAN "Deep Convolutional Generative Adversarial Networks"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages