Open qingyuanxingsi opened 8 years ago
I also experience this when attempting to sample from check points...
This seems likely related to https://www.bountysource.com/issues/28133409-434-breaks-multinomial ; I did find in my sampling that the code fails on a prediction where one output has probability 1.0000 (printed to 4 digits). I verified that the probs are all positive semi-definite and none are NaN.
According to the discussion, the solution is to make cum_dist in THTensorRandom.c a DoubleTensor but I haven't tried it myself.
When I run the code using my customized data, I found the following error, which had been mentioned by previous issues(but not solved),
Would you be so kind as to tell me how to solve this issue??