diff --git a/notebooks/04_gan/01_dcgan/dcgan.ipynb b/notebooks/04_gan/01_dcgan/dcgan.ipynb index cc14d8d..27ef75a 100644 --- a/notebooks/04_gan/01_dcgan/dcgan.ipynb +++ b/notebooks/04_gan/01_dcgan/dcgan.ipynb @@ -287,11 +287,11 @@ " )\n", "\n", " real_labels = tf.ones_like(real_predictions)\n", - " real_noisy_labels = real_labels + NOISE_PARAM * tf.random.uniform(\n", + " real_noisy_labels = real_labels - NOISE_PARAM * tf.random.uniform(\n", " tf.shape(real_predictions)\n", " )\n", " fake_labels = tf.zeros_like(fake_predictions)\n", - " fake_noisy_labels = fake_labels - NOISE_PARAM * tf.random.uniform(\n", + " fake_noisy_labels = fake_labels + NOISE_PARAM * tf.random.uniform(\n", " tf.shape(fake_predictions)\n", " )\n", "\n",