-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
if(score_a > score_v) and k > 0.04:
gap = score_a - score_v
gap = tanh(score_a - score_v)
beta = 0.95 * torch.exp(gap)
beta2 = 0
elif(score_v < score_a) and k > 0.04:
gap = score_v - score_a
gap = tanh(score_v - score_a)
beta2 = 0.1 * torch.exp(gap)
beta = 0
else:
beta = 0
beta2 = 0
In your published code, the if statement above seems to have an issue; the two conditions appear to be the same, right? score_a > score_v
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels