Hello Irfan!



 IrfanUmar:

    y_onehot = nn.functional.one_hot(labels, num_classes=3)
How should I encode my labels to get multi labels


What is the shape of the output of your network (that you will
pass as the input to your BCEWithLogitsLoss loss function)?
What is the shape of labels, and what are typical values of the
labels tensor, and what do they mean conceptually?
Best.
K. Frank