StyleGAN-Keras
StyleGAN-Keras copied to clipboard
train error
when I run the mixed-stylegan got the error
Traceback (most recent call last):
File "mixed-stylegan.py", line 764, in <module>
model.train()
File "mixed-stylegan.py", line 513, in train
a = self.train_dis()
File "mixed-stylegan.py", line 561, in train_dis
d_loss = self.DisModel.train_on_batch(train_data, [self.ones, self.nones, self.ones])
File "D:\python\lib\site-packages\keras\engine\training.py", line 1443, in train_on_batch
class_weight=class_weight)
File "D:\python\lib\site-packages\keras\engine\training.py", line 757, in _standardize_user_data
exception_prefix='input')
File "D:\python\lib\site-packages\keras\engine\training_utils.py", line 131, in standardize_input_data
'with shape ' + str(data_shape))
ValueError: Error when checking input: expected input_12 to have 4 dimensions, but got array with shape (4, 1)
pls help me ! SOS