diff options
author | Vasil Zlatanov <v@skozl.com> | 2019-02-25 18:46:45 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2019-02-25 18:46:45 +0000 |
commit | 8c8d668ef51cc8a7eb0f25e285c0841581213d5e (patch) | |
tree | 386578c7c128881533b1e1d9c876990c71a746b9 | |
parent | 69d462050a9a8514d48c8833400a42d8204c643c (diff) | |
download | e4-gan-8c8d668ef51cc8a7eb0f25e285c0841581213d5e.tar.gz e4-gan-8c8d668ef51cc8a7eb0f25e285c0841581213d5e.tar.bz2 e4-gan-8c8d668ef51cc8a7eb0f25e285c0841581213d5e.zip |
Make functions valid
-rw-r--r-- | models.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ from keras.models import Model, Sequential from keras.layers import * -def get_generator: +def get_generator(): generator = Sequential([ Dense(128*7*7, input_dim=100, activation=LeakyReLU(0.2)), BatchNormalization(), @@ -25,7 +25,7 @@ def get_generator: ]) return generator -def get_discriminator: +def get_discriminator(): discriminator = Sequential([ Convolution2D(64, 5, 5, subsample=(2,2), input_shape=(28,28,1), border_mode='same', activation=LeakyReLU(0.2)), Dropout(0.3), |