diff options
-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)) |