komiya-m / MirrorGAN

28 stars 12 forks source link

Training process error? #5

Open zhengqibin opened 4 years ago

zhengqibin commented 4 years ago

in lines 124~128 train.py, why fake label are set as the ground truth for the first output, considering the real_image is the input?
if batch % wrong_step == 0: histDw = D_model.train_on_batch( [real_image[:-1], captions_ar_prezeropad[1:]], [fake_label[:-1], fake_label[:-1]], )