Closed nabihach closed 6 years ago
Line 59 in train_vae.py: inputs, labels = dataset.next_batch(args.gpu)
inputs, labels = dataset.next_batch(args.gpu)
Here, the inputs are the sentences and labels are sentiments. However, this is just a VAE, so shouldn't the labels be the same as the inputs?
You are correct. That's why, if you notice, labels is not being used in train_vae.py at all. It is being used in train_discriminator.py.
labels
Ah right. Thanks!
Line 59 in train_vae.py:
inputs, labels = dataset.next_batch(args.gpu)
Here, the inputs are the sentences and labels are sentiments. However, this is just a VAE, so shouldn't the labels be the same as the inputs?