CoOp
CoOp copied to clipboard
Running on Multi-label Classification
Dear Zhou, Thank you for sharing Dassl!
I encounter some problem when implementing 'coop' with multi-label classification. My label in One-hot presentation is like: [0,1,0,1,0,0,0,1], so how to define '_classnames' and '_lab2cname' in 'base_dataset.py'? I have already reshape my data like:{train:classname:[[name1],[name7]], impath: xxx, label: [0,1,0,0,0,0,0,1]} and feed it into 'Datum'
Do you have any good suggestions, or is it possible to update dassl to be compatible with multi-label tasks?
Many Thanks
Have you solved the problem?Thanks