crnn.pytorch
crnn.pytorch copied to clipboard
Why My CTC Loss is always Nan or Inf value?
While training the model at every epoch the loss is always a nan or inf value, I tried to debug but could not sort out. If anyone face this kind of issue please help me out.
encounter the same question, ask for help
Have you already solved the problem?
I'm in the same situation. Have you solved it?
No I did not
Same problem
if you use your own dataset:
- make sure all the labels are not empty
- make sure the length of the predicted sequence > 2 * length(label) + 1