Closed npuichigo closed 6 years ago
I have no idea of this line about sampling from softmax. Can you give me a help?
temp.uniform_(1e-5, 1. - 1e-5) temp = logit_probs.data - torch.log(- torch.log(temp)) _, argmax = temp.max(dim=3)
Hi @npuichigo
Sorry for the late reply; I took this line from the original repository. From what I understand it has to do with the definition of the CDF for the mixture of logistic distribution.
I have no idea of this line about sampling from softmax. Can you give me a help?