Skip to content

Instantly share code, notes, and snippets.

@simoninithomas
Created March 7, 2018 09:21
Show Gist options
  • Save simoninithomas/06dcd6109aabca594da4efead09dd3c4 to your computer and use it in GitHub Desktop.
Save simoninithomas/06dcd6109aabca594da4efead09dd3c4 to your computer and use it in GitHub Desktop.
Cat DCGAN
# Load the data and train the network here
dataset = helper.Dataset(glob(os.path.join(data_resized_dir, '*.jpg')))
with tf.Graph().as_default():
losses, samples = train(epochs, batch_size, z_dim, learning_rate_D, learning_rate_G, beta1, dataset.get_batches,
dataset.shape, dataset.image_mode, alpha)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment