ZiJianZhao / SeqGAN-PyTorch

A implementation of SeqGAN in PyTorch, following the implementation in tensorflow.
261 stars 93 forks source link

bug on 56 line of rollout.py #14

Closed Sinp17 closed 2 years ago

Sinp17 commented 2 years ago

a subtle yet important mistake the origin code: 'rewards[seq_len-1] += pred' is likely to be changed as 'rewards[l-1] += pred'