
- TensorFlow 1.0.0
- TensorLayer 1.3.11
- CUDA 8
- Ubuntu
- Before training the network, please prepare the data
- CelebA download
- Cropped SVHN download
- MNIST download, and put to
data/mnist_png
python3 train.py --train_step="ac_gan" --retrain=1
python3 train.py --train_step="imageEncoder" --retrain=1
python3 translate_image.py
- Samples of all steps will be saved to data/samples/

- in
train.py
andtranslate_image.py
modify the name of datasetflags.DEFINE_string("dataset", "celebA", "The name of dataset [celebA, obama_hillary]")
- write your own
data_loader
indata_loader.py