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
{{ message }}
Repository navigation
NameError: name 'rm' is not defined when using barrier_hinge surrogate in PairwiseAUCLoss #72
When attempting to use the barrier_hinge surrogate loss function inside PairwiseAUCLoss, the forward pass immediately crashes with a NameError because it attempts to reference an undefined variable rm.
Activity
PenGuln commentedon Jun 24, 2026
Thanks for the report! This was a typo —
rmshould bem. The fix has been applied in this commit and is available in v2.0.1.To get the updated code, please run: