diff --git a/examples/mnist_acgan.py b/examples/mnist_acgan.py index a640dd545c60..8f7ebddc502d 100644 --- a/examples/mnist_acgan.py +++ b/examples/mnist_acgan.py @@ -212,7 +212,8 @@ def build_discriminator(): # Salimans et al., 2016 # https://arxiv.org/pdf/1606.03498.pdf (Section 3.4) soft_zero, soft_one = 0, 0.95 - y = np.array([soft_one] * len(image_batch) + [soft_zero] * len(image_batch)) + y = np.array( + [soft_one] * len(image_batch) + [soft_zero] * len(image_batch)) aux_y = np.concatenate((label_batch, sampled_labels), axis=0) # we don't want the discriminator to also maximize the classification