diff options
Diffstat (limited to 'cgan.py')
-rwxr-xr-x | cgan.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -204,9 +204,9 @@ class CGAN(): labels_val = np.zeros(5000).reshape(-1, 1) for i in range(10): - labels_train[i*5500:] = i - labels_test[i*1000:] = i - labels_val[i*500:] = i + labels_train[i*5500:-1] = i + labels_test[i*1000:-1] = i + labels_val[i*500:-1] = i train_data = self.generator.predict([noise_train, labels_train]) test_data = self.generator.predict([noise_test, labels_test]) |