You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Shinochin hello, because 'NLLLoss' is used which is 'NLLLoss(x) = log(softmax(x))'. Therefore, to get the softmax results, you need to do this: 'softmax(x) = exp(NLLLoss(x))'
https://github.com/ZiJianZhao/SeqGAN-PyTorch/blob/master/main.py#L87
why?
In the original implementation by LantaoYu, exp is not used for loss values.
The text was updated successfully, but these errors were encountered: