aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2019-03-08 00:46:42 +0000
committerVasil Zlatanov <v@skozl.com>2019-03-08 00:46:42 +0000
commit836b0215275cfa52142a66de6978448515b17f4f (patch)
treef79160541859795829282cbe4736849111e1857e
parent0825e9d67aeba32ce64aaedf52407040760ef192 (diff)
downloade4-gan-836b0215275cfa52142a66de6978448515b17f4f.tar.gz
e4-gan-836b0215275cfa52142a66de6978448515b17f4f.tar.bz2
e4-gan-836b0215275cfa52142a66de6978448515b17f4f.zip
Remove variable initializer
-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])