HanxunH/SCELoss-Reproduce

why not flip the label for rce?

crixus5678 opened this issue · 2 comments

I would like to ask why not just flip the label to calculate rce?

if ce = self.cross_entropy(pred, labels), wont rce just be rce = self.cross_entropy(labels,pred) ?

Looks good to me, this should also works.

alright, thanks!