LantaoYu / SeqGAN

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

If the positive sample and negative sample of each training are corresponding, will it affect the training result #61

Open yeshenpy opened 5 years ago

yeshenpy commented 5 years ago

Now the code generates negative samples in advance every time, and then shuffles the order, and then randomly selects from the set of positive and negative samples for training. If I extract certain positive datas for each training and generate the corresponding negative samples, that is, each batch positive sample has the corresponding negative sample, is the training discriminator feasible?