|
@@ -117,7 +117,7 @@ class SimpleGan(GanBaseClass):
|
|
|
self.discriminator.train_on_batch(X, y_dis)
|
|
self.discriminator.train_on_batch(X, y_dis)
|
|
|
|
|
|
|
|
#Tricking the noised input of the Generator as real data
|
|
#Tricking the noised input of the Generator as real data
|
|
|
- noise = np.random.normal(0, 1, [self.batchSize, 100])
|
|
|
|
|
|
|
+ noise = np.random.normal(0, 1, [self.batchSize, self.noiseSize])
|
|
|
y_gen = np.ones(self.batchSize)
|
|
y_gen = np.ones(self.batchSize)
|
|
|
|
|
|
|
|
# During the training of gan,
|
|
# During the training of gan,
|