diff options
Diffstat (limited to 'dcgan.py')
-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 |