Spaces:
Sleeping
Sleeping
Commit
·
8708085
1
Parent(s):
b331701
asdf
Browse files- mot-metrics.py +2 -2
mot-metrics.py
CHANGED
|
@@ -141,11 +141,11 @@ class MotMetrics(evaluate.Metric):
|
|
| 141 |
# TODO: Download external resources if needed
|
| 142 |
pass
|
| 143 |
|
| 144 |
-
def _compute(self, predictions, references):
|
| 145 |
"""Returns the scores"""
|
| 146 |
# TODO: Compute the different scores of the module
|
| 147 |
|
| 148 |
-
return calculate(predictions, references)
|
| 149 |
|
| 150 |
def calculate(predictions, references, max_iou: float = 0.5):
|
| 151 |
"""Returns the scores"""
|
|
|
|
| 141 |
# TODO: Download external resources if needed
|
| 142 |
pass
|
| 143 |
|
| 144 |
+
def _compute(self, predictions, references, max_iou: float = 0.5):
|
| 145 |
"""Returns the scores"""
|
| 146 |
# TODO: Compute the different scores of the module
|
| 147 |
|
| 148 |
+
return calculate(predictions, references, max_iou)
|
| 149 |
|
| 150 |
def calculate(predictions, references, max_iou: float = 0.5):
|
| 151 |
"""Returns the scores"""
|