This sample, WGAN-TensorFlow2, implements a full Tensorflow2-based WGAN for image generation task. This sample is based on the WGAN-gp paper.
- Tensorflow 2.0.0
conda install tensorflow-gpu=2.0.0
- Opencv
conda install -c menpo opencv
-
download "Anime-Face-Dataset" , or your own dataset, and unpack it to
/datasets
directory. -
open the terminal and run the
train.py
:-
python train.py
-
- A visualization of Training Process is available here.
- After 10000 iterations: