Spaces:
Sleeping
Sleeping
VascoDVRodrigues
commited on
Commit
•
ba20988
1
Parent(s):
69e13f0
asdf
Browse files- mot-metrics.py +3 -0
mot-metrics.py
CHANGED
@@ -149,6 +149,9 @@ class MotMetrics(evaluate.Metric):
|
|
149 |
|
150 |
def calculate(predictions, references, max_iou: float = 0.5):
|
151 |
"""Returns the scores"""
|
|
|
|
|
|
|
152 |
try:
|
153 |
np_predictions = np.array(predictions)
|
154 |
except:
|
|
|
149 |
|
150 |
def calculate(predictions, references, max_iou: float = 0.5):
|
151 |
"""Returns the scores"""
|
152 |
+
print("predictions", predictions)
|
153 |
+
print("references", references)
|
154 |
+
|
155 |
try:
|
156 |
np_predictions = np.array(predictions)
|
157 |
except:
|