aboutsummaryrefslogtreecommitdiff
path: root/cdcgan.py
diff options
context:
space:
mode:
Diffstat (limited to 'cdcgan.py')
-rwxr-xr-xcdcgan.py1
1 files changed, 0 insertions, 1 deletions
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])