Cross entropy with softmax (4 outputs) with target being multichannel continuous values

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