Hello,
I built a classification model which takes a vector as input and which gives me 3 labels for example [score_1, score_2, score_3] = [3, 7, 9] with the score 3,7,9 it is a score chosen from 11 possible values
3 \ in {0,…, 11}
7 \ in {0,…, 11}
9 \ in {0,…, 11}
I calculated the loss function losse as follows:
loss = criterion (pred, y.long ()) with criterion = nn.CrossEntropyLoss (), but I get an error in the code
multi-target not supported at /pytorch/aten/src/THCUNN/generic/ClassNLLCriterion.cu:15
i dont know how to solve it. Could you please help me?