Update wgan.py
This commit is contained in:
Родитель
b20a4b8461
Коммит
5b635efa95
|
@ -39,7 +39,7 @@ class WGAN():
|
||||||
self.generator = self.build_generator()
|
self.generator = self.build_generator()
|
||||||
|
|
||||||
# The generator takes noise as input and generated imgs
|
# The generator takes noise as input and generated imgs
|
||||||
z = Input(shape=(100,))
|
z = Input(shape=(self.latent_dim,))
|
||||||
img = self.generator(z)
|
img = self.generator(z)
|
||||||
|
|
||||||
# For the combined model we will only train the generator
|
# For the combined model we will only train the generator
|
||||||
|
|
Загрузка…
Ссылка в новой задаче