项目作者: emla2805

项目描述 :
DCGAN generating MNIST digits
高级语言: Python
项目地址: git://github.com/emla2805/mnist-gan.git
创建时间: 2019-03-17T20:50:53Z
项目社区:https://github.com/emla2805/mnist-gan

开源协议:

下载


DCGAN for MNIST digit generation

Tensorflow implementation of a Generative Adverserial Network (GAN) to
generate MNIST digits, using the new way to override Model.train_step in keras.



Training vs Generated Images




Install dependencies

Create a Python 3 virtual environment and activate it:

  1. virtualenv -p python3 venv
  2. source ./venv/bin/activate

Next, install the required dependencies:

  1. pip install -r requirements.txt

Train model

Start the model training by running:

  1. python train.py

To track metrics, start Tensorboard

  1. tensorboard --logdir path/to/log/dir

and then go to localhost:6006.