diff --git a/lsgan/lsgan.py b/lsgan/lsgan.py index 6014f51..09e9683 100644 --- a/lsgan/lsgan.py +++ b/lsgan/lsgan.py @@ -34,7 +34,7 @@ class LSGAN(): 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