Gil-Simas commited on
Commit
c62f523
·
1 Parent(s): 86bbaac

filters -> filter

Browse files
Files changed (1) hide show
  1. user-friendly-metrics.py +2 -2
user-friendly-metrics.py CHANGED
@@ -96,14 +96,14 @@ class UserFriendlyMetrics(evaluate.Metric):
96
  self,
97
  payload,
98
  max_iou: float = 0.5,
99
- filters={},
100
  recognition_thresholds=[0.3, 0.5, 0.8],
101
  debug: bool = False,
102
  ):
103
  """Returns the scores"""
104
  # TODO: Compute the different scores of the module
105
  return calculate_from_payload(
106
- payload, max_iou, filters, recognition_thresholds, debug
107
  )
108
  # return calculate(predictions, references, max_iou)
109
 
 
96
  self,
97
  payload,
98
  max_iou: float = 0.5,
99
+ filter={},
100
  recognition_thresholds=[0.3, 0.5, 0.8],
101
  debug: bool = False,
102
  ):
103
  """Returns the scores"""
104
  # TODO: Compute the different scores of the module
105
  return calculate_from_payload(
106
+ payload, max_iou, filter, recognition_thresholds, debug
107
  )
108
  # return calculate(predictions, references, max_iou)
109