#271·Keras-GAN

when training SGAN for cifar10 and mnist dataset, raised the "AttributeError: 'list' object has no attribute 'keys' "in the following code lones

Author: anwarsaqibCreated Jan 27, 2023Updated Jan 27, 2023

d_loss_real = self.discriminator.train_on_batch(imgs, [valid, labels], class_weight=[cw1, cw2]) d_loss_fake = self.discriminator.train_on_batch(gen_imgs, [fake, fake_labels], class_weight=[cw1, cw2])

Source: eriklindernoren/Keras-GAN