Home > other > Pytorch training model, nan's problems
Pytorch training model, nan's problems
Time:11-20
Syth90k training data to do the training, then trained to appear in the process of model output is nan, and it is time to the 10 batches of data will appear this problem, I disturb data is also awarded in 10 nan, my bs Settings is 10, when adjusted to 1 in more than 700 of nan, I checked the input data, all is normal, and the most strange is, if I'm in training after the 9 group of data store model, and then reload, nan won't immediately appear, will appear on the training again after a period of time