Skip to content

Commit 01eb1b5

Browse files
authored
variable change
1 parent eee0662 commit 01eb1b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def forward(self, spans, g_i, mention_scores):
382382

383383
# pad the scores for each one with a dummy value, 1000 so that the tensors can
384384
# be of the same dimension for calculation loss and what not.
385-
probs, _ = pad_and_stack(scores, value=1000)
385+
probs, _ = pad_and_stack(probs, value=1000)
386386
probs = probs.squeeze()
387387

388388
return spans, probs

0 commit comments

Comments
 (0)