Open
Description
Immediately when I start training a model I get "NaN of Inf detected" when this line happens:
logloss = log_softmax(f_i, valid_frames)
Note this is with immediate_compute and check_validity turned on. If they aren't, then the error seems to happen a little later in the process.
In the most recent run, the values being passed to log_softmax are:
f_i = expression 1630/2
valid_frames = [204, 28]
Can someone help me understand why this input is returning either inf or nan? I've looked through the issues and it seems to be something different each time.
Here is an example of what log_softmax returns (not the same run as above though):
logloss = expression 3429/2
Thanks!
Metadata
Metadata
Assignees
Labels
No labels