Spaces:
Build error
Build error
Update ref-metrics.py
Browse files- ref-metrics.py +0 -4
ref-metrics.py
CHANGED
|
@@ -94,11 +94,7 @@ class UserFriendlyMetrics(evaluate.Metric):
|
|
| 94 |
def compute_from_payload(
|
| 95 |
self,
|
| 96 |
payload,
|
| 97 |
-
max_iou: float = 0.5,
|
| 98 |
-
filters={},
|
| 99 |
-
recognition_thresholds=[0.3, 0.5, 0.8],
|
| 100 |
area_ranges_tuples=None, # Optional parameter
|
| 101 |
-
debug: bool = False,
|
| 102 |
):
|
| 103 |
"""
|
| 104 |
Compute the metric from the payload.
|
|
|
|
| 94 |
def compute_from_payload(
|
| 95 |
self,
|
| 96 |
payload,
|
|
|
|
|
|
|
|
|
|
| 97 |
area_ranges_tuples=None, # Optional parameter
|
|
|
|
| 98 |
):
|
| 99 |
"""
|
| 100 |
Compute the metric from the payload.
|