PyTorch Forums
F.cross entropy vs torch.nn.Cross_Entropy_Loss
albanD
(Alban D)
March 5, 2020, 2:40pm
6
You are not using a weighted cross entropy. So no difference as mentionned above.
4 Likes
Model accuracy is stuck at exact 0.5, loss decreases consistently
show post in topic