Joschka Strueber commited on
Commit
1f20712
·
1 Parent(s): 8be99c0

[Debug] EC error

Browse files
Files changed (1) hide show
  1. src/similarity.py +1 -0
src/similarity.py CHANGED
@@ -70,6 +70,7 @@ def compute_pairwise_similarities(metric_name: str, probs: list[list[np.array]],
70
  try:
71
  similarities[i, j] = compute_similarity(metric, outputs_a, outputs_b, gt_a)
72
  except Exception as e:
 
73
  similarities[i, j] = np.nan
74
 
75
  similarities[j, i] = similarities[i, j]
 
70
  try:
71
  similarities[i, j] = compute_similarity(metric, outputs_a, outputs_b, gt_a)
72
  except Exception as e:
73
+ print(f"Failed to compute similarity between models {i} and {j}: {e}")
74
  similarities[i, j] = np.nan
75
 
76
  similarities[j, i] = similarities[i, j]