diff options
author | nunzip <np.scarh@gmail.com> | 2019-03-05 00:51:37 +0000 |
---|---|---|
committer | nunzip <np.scarh@gmail.com> | 2019-03-05 00:51:37 +0000 |
commit | 2bb025014db2c8d968298125d251cbc4ca5949d1 (patch) | |
tree | 4caa082342ce20a5492cf49d40b9e36120ce0ee9 | |
parent | 8ea26cf68a81df5da1ab7991a36cab91a8b49466 (diff) | |
download | e4-gan-2bb025014db2c8d968298125d251cbc4ca5949d1.tar.gz e4-gan-2bb025014db2c8d968298125d251cbc4ca5949d1.tar.bz2 e4-gan-2bb025014db2c8d968298125d251cbc4ca5949d1.zip |
Try different normalization
-rw-r--r-- | dcgan.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -143,7 +143,6 @@ class DCGAN(): ref_imgs = X_train[idx] mu = np.mean(ref_imgs, axis=0) sigma = np.var(ref_imgs, axis=0) - sigma[sigma<1] = 1 imgs = np.divide(np.subtract(imgs, mu), sigma) # Sample noise and generate a batch of new images |