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