I am using resnet18 with BCEWithLogitsLoss()
and i am encoding my labels using
    y_onehot = nn.functional.one_hot(labels, num_classes=3)
     y_onehot = y_onehot.float()
Which is I think not true for multi label data.
How should I encode my labels to get multi labels