Skip to content

Commit

Permalink
fix append
Browse files Browse the repository at this point in the history
  • Loading branch information
markus583 committed May 19, 2024
1 parent 27e56f0 commit 29e4d06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wtpsplit/evaluation/intrinsic_pairwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,7 @@ def main(args):
acc_t = np.mean(acc_t) if score_t else None
acc_punct = np.mean(acc_punct) if score_punct else None
threshold = np.mean(thresholds)
u_indices.append(cur_u_indices["pred_indices"] if cur_u_indices["pred_indices"] else [])
true_indices.append(cur_u_indices["true_indices"] if cur_u_indices["true_indices"] else [])
length.append(cur_u_indices["length"])


results[lang_code][dataset_name] = {
"u": score_u,
Expand Down

0 comments on commit 29e4d06

Please sign in to comment.