You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an implementation for masking out the target logits (only keeping the non-target logits). A more readable way is "pred = F.softmax(logits[1-gt_mask] / temperature)", yet we find it would cost a lot of time because of the indexing operation.
in line 21 - 26 in DKD.py
What dose the coefficient 1000.0 represent? Is it the number of classes ?
The text was updated successfully, but these errors were encountered: