From 836b0215275cfa52142a66de6978448515b17f4f Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 8 Mar 2019 00:46:42 +0000 Subject: Remove variable initializer --- cdcgan.py | 1 - 1 file changed, 1 deletion(-) (limited to 'cdcgan.py') diff --git a/cdcgan.py b/cdcgan.py index 7b517ca..dba6737 100755 --- a/cdcgan.py +++ b/cdcgan.py @@ -162,7 +162,6 @@ class CDCGAN(): # Sample noise as generator input noise = np.random.normal(0, 1, (batch_size, 100)) - tf.keras.backend.get_session().run(tf.global_variables_initializer()) # Generate a half batch of new images gen_imgs = self.generator.predict([noise, labels]) -- cgit v1.2.3-54-g00ecf