diff options
author | nunzip <np.scarh@gmail.com> | 2019-03-05 00:46:17 +0000 |
---|---|---|
committer | nunzip <np.scarh@gmail.com> | 2019-03-05 00:46:17 +0000 |
commit | 8ea26cf68a81df5da1ab7991a36cab91a8b49466 (patch) | |
tree | 19eb8d356bfe4e95c79071a1e5f28b01155f6edf | |
parent | 21e16309d54fd2a31fdbf7fb470c3d70b38d1c65 (diff) | |
download | e4-gan-8ea26cf68a81df5da1ab7991a36cab91a8b49466.tar.gz e4-gan-8ea26cf68a81df5da1ab7991a36cab91a8b49466.tar.bz2 e4-gan-8ea26cf68a81df5da1ab7991a36cab91a8b49466.zip |
Fix mistake with variable name
-rw-r--r-- | dcgan.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ class DCGAN(): mu = np.mean(ref_imgs, axis=0) sigma = np.var(ref_imgs, axis=0) sigma[sigma<1] = 1 - img = np.divide(np.subtract(img, mu), sigma) + imgs = np.divide(np.subtract(imgs, mu), sigma) # Sample noise and generate a batch of new images noise = np.random.normal(0, 1, (batch_size, self.latent_dim)) |