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
For multi-label cases, I think there is no need to consider neg_p_sub while computing per_entry_cross_ent. I think we shouldn't take every class as a binary classification and sum up their binary-cross-entropy losses, but take all classes as a whole to compute the multiclass-cross-entropy loss.
For multi-label cases, I think there is no need to consider
neg_p_sub
while computingper_entry_cross_ent
. I think we shouldn't take every class as a binary classification and sum up their binary-cross-entropy losses, but take all classes as a whole to compute the multiclass-cross-entropy loss.The original code:
I think it should be:
The text was updated successfully, but these errors were encountered: