eriklindernoren / Keras-GAN

Keras implementations of Generative Adversarial Networks.
MIT License
9.19k stars 3.14k forks source link

Running acgan.py can cause an error. #239

Closed mina-moto closed 4 years ago

mina-moto commented 4 years ago

This is probably because the summary() is executed before compile() the model(discriminator).

ValueError: This model has not yet been built. Build the model first by calling build() or calling fit() with some data. Or specify input_shape or batch_input_shape in the first layer for automatic build.