Spaces:
Runtime error
Runtime error
gorkaartola
commited on
Commit
•
5adc8ac
1
Parent(s):
fbdccd1
Update metric_for_tp_fp_samples.py
Browse files
metric_for_tp_fp_samples.py
CHANGED
@@ -132,8 +132,8 @@ 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(logits)
|
136 |
-
print(predictions)
|
137 |
return predictions
|
138 |
|
139 |
#Builds a report with the metrics####################################################
|
|
|
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 |
|
139 |
#Builds a report with the metrics####################################################
|