Spaces:
Runtime error
Runtime error
gorkaartola
commited on
Commit
•
fbdccd1
1
Parent(s):
a260b86
Update metric_for_tp_fp_samples.py
Browse files
metric_for_tp_fp_samples.py
CHANGED
@@ -132,6 +132,7 @@ class metric_tp_fp_Datasets(evaluate.Metric):
|
|
132 |
return predictions
|
133 |
def topk(self, logits, topk):
|
134 |
predictions = logits.topk(topk).indices.tolist()
|
|
|
135 |
print(predictions)
|
136 |
return predictions
|
137 |
|
|
|
132 |
return predictions
|
133 |
def topk(self, logits, topk):
|
134 |
predictions = logits.topk(topk).indices.tolist()
|
135 |
+
print(logits)
|
136 |
print(predictions)
|
137 |
return predictions
|
138 |
|