Created
October 15, 2017 04:58
-
-
Save chaserileyroberts/eeb15e6930f9251d88fbb8a13a4d4a83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GAN: | |
def __init__(self, z_vector, true_images): | |
# Pretend these are implemented. | |
with tf.variable_scope("gen"): | |
self.make_geneator(z_vector) | |
with tf.variable_scope("des"): | |
self.make_descriminator(true_images) | |
opt = tf.AdamOptimizer() | |
train_descrim = opt.minimize(self.descrim_loss) | |
train_gen = opt.minimize(self.gen_loss) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment