From 8aee9817f0b20c4c75237a17466e5b09f4e0d339 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 8 Feb 2019 06:38:56 +0100 Subject: [PATCH] Removed obsolete code Signed-off-by: Jim Martens --- src/twomartens/masterthesis/aae/train.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/twomartens/masterthesis/aae/train.py b/src/twomartens/masterthesis/aae/train.py index fb7d84c..68ee846 100644 --- a/src/twomartens/masterthesis/aae/train.py +++ b/src/twomartens/masterthesis/aae/train.py @@ -101,8 +101,6 @@ def train_mnist(folding_id: int, inlier_classes: Sequence[int], total_classes: i # train y_real = k.ones(batch_size) y_fake = k.zeros(batch_size) - y_real_z = k.ones(batch_size) - y_fake_z = k.zeros(batch_size) sample = k.expand_dims(k.expand_dims(k.random_normal((64, zsize)), axis=1), axis=1) z_generator = functools.partial(get_z_variable, batch_size=batch_size, zsize=zsize)