Time:08-08
for the nn.CrossEntropyLoss(), What if the input labels are all ignore_index ? I got a 'nan' loss, how to fix it ? thanks!
detail of my code is following:
Page link:https//www.codepudding.com/net/502746.html