-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
[FEATURE] Multi-Label Classification #452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@liangshi036 I do have an (eventual) plan to add support for BCE and/or MultiLabelSoft margin losses for use in multi-label tasks and include support for a suitable dataset. Have a number of other significant refactorings of the train code to support TPU ahead of that in the queue though.... |
That's Awesome. Looking Forward to your update! thanks for this great job which keep us in touch with SOTA things. |
looking forward to this. Thank you. |
@rwightman Cheers, |
@yang-ruixin , seems you're not using BCE losses. have you test your code with multi-label classification task ? |
Hi there, Sure I've tested my code, with fashion-product-images dataset and another private dataset. Ruixin |
BCE (nn.BCEWithLogitsLoss) is a elegant way to treats output independently (as logit loss) in multi-label classification task . you can post your test result by the way. |
@yang-ruixin @liangshi036 @rwightman thanks for sharing your source code, i am trying to do attribute recognition for the person using transformers which is a multilabel classification problem statement, can you please share your thought on the following points
Thanks in advance |
How do I apply this nice repo to Multi-Label Classification task ?
That is , a image has multi labels,I'd like to get the each label's confidence.
sound like add some features in dataset.py? or more than this file?
Thanks.
The text was updated successfully, but these errors were encountered: