Spaces:
Runtime error
Runtime error
Commit
•
009f172
1
Parent(s):
1ec71a9
Update metric_for_tp_fp_samples.py
Browse files
metric_for_tp_fp_samples.py
CHANGED
@@ -106,8 +106,8 @@ class metric_tp_fp_Datasets(evaluate.Metric):
|
|
106 |
for prediction in argmax:
|
107 |
predicted_indexes = [prediction.item()]
|
108 |
predictions.append(predicted_indexes)
|
109 |
-
|
110 |
-
|
111 |
return predictions
|
112 |
def softmax_threshold(logits, threshold):
|
113 |
predictions = []
|
|
|
106 |
for prediction in argmax:
|
107 |
predicted_indexes = [prediction.item()]
|
108 |
predictions.append(predicted_indexes)
|
109 |
+
print("JAAAAAAAAAARL")
|
110 |
+
print(predictions)
|
111 |
return predictions
|
112 |
def softmax_threshold(logits, threshold):
|
113 |
predictions = []
|