Skip to content

tensorlayer/DCGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCGAN in TensorLayerX

alt tag

Prerequisites

🔥🔥🔥🔥🔥🔥 You need install TensorLayerX at first!

🔥🔥🔥🔥🔥🔥 Please install TensorLayerX via source

pip install tensorlayerx

or

pip install git+https://github.com/tensorlayer/tensorlayerx.git 

Usage

First, download the aligned face images from google or baidu to a data folder.

Please place dataset 'img_align_celeba.zip' under 'data/celebA/' by default.

Your directory structure should look like this:

dcgan/
    └── data.py
    └── model.py
    └── train.py
    └── README.md
    └── data
          └── celebA
            └── img_align_celeba.zip

Second, train the GAN:

$ python train.py

Result on celebA