eriklindernoren / Keras-GAN

Keras implementations of Generative Adversarial Networks.
MIT License
9.18k stars 3.14k forks source link

cGAN with multi-labels of multi-classes #272

Open sofiavaldez77 opened 1 year ago

sofiavaldez77 commented 1 year ago

Hi, I'm trying to modify the cGAN code so that it can be trained on these 3 labels: label1 is a continuous value that ranges from 0.1 to 0.5 (e.g. 0.25, 0.34, 0.11....) label2 is a discrete value that ranges from 45 to 75 (e.g. 47, 58, 61, 52....) label4 is a discrete value that is either 1 or 2

I'm using a conditional version of the DCGAN code. These are the edits I tried making to the code (to have 2 labels with different classes) but it's not working for me: stackoverflow link

What edits to your code should I make in order to train the cGAN on 4 different conditional inputs (instead of just 1)? Thanks!

Songtech-0912 commented 1 year ago

See https://github.com/eriklindernoren/Keras-GAN/issues/20 if it is helpful.