From bdd3c40bb4cf8f4c28535562958a4d53ead7977a Mon Sep 17 00:00:00 2001 From: Ero98 Date: Thu, 2 Aug 2018 17:43:07 +0800 Subject: [PATCH] Update bgan.py --- bgan/bgan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgan/bgan.py b/bgan/bgan.py index f53167e..c891ccc 100644 --- a/bgan/bgan.py +++ b/bgan/bgan.py @@ -36,7 +36,7 @@ class BGAN(): self.generator = self.build_generator() # The generator takes noise as input and generated imgs - z = Input(shape=(100,)) + z = Input(shape=(self.latent_dim,)) img = self.generator(z) # For the combined model we will only train the generator