KFrank
(K. Frank)
5
Hi Srinath!
Pytorch’s cross_entropy()
takes targets that are integer class labels.
You can’t use so-called soft labels that are probabilities.
However, you can easily write your own version that does take soft
labels. See this thread:
Best.
K. Frank