LantaoYu / SeqGAN

Implementation of Sequence Generative Adversarial Nets with Policy Gradient
2.08k stars 711 forks source link

where does the randomness of the generator come from? #30

Closed kunrenzhilu closed 7 years ago

kunrenzhilu commented 7 years ago

It seems that according to the generator, at the beginning of unrolling, the input is START_TOKEN. And seems that there's no source of randomness to feed into the network, so shouldn't the trained network be deterministic?

kunrenzhilu commented 7 years ago

The randomness comes from tf.multinomial. Never mind.