Open
Description
It is a great package that improves my efficiency , When I test cifar10, for the one-hot label , I can use
label = torch.argmax(label,dim=1)
to transform one-hot label but When I test it on some one-hot label I can't find a nice method to deal with a multi-label dataset.
at first, I saw this issue it tells me a way to put in multi-label, but I want to further custom it because I need to construct a similarity matrix
label = torch.matmul(label,label.t())
# For multi-label dataset , if there is one label shared by two samples I mark it as the same
I hope to receive a response from you soon. Thank you.