hichem-abdellali commited on
Commit
6fe02b7
·
verified ·
1 Parent(s): a4b3018

include , **kwargs to the compute from payload

Browse files
Files changed (1) hide show
  1. ref-metrics.py +1 -1
ref-metrics.py CHANGED
@@ -420,7 +420,7 @@ class DetectionMetric(evaluate.Metric):
420
  return predictions, references
421
 
422
 
423
- def compute_from_payload(self, payload: Payload):
424
  """
425
  Compute the metric from the payload.
426
  Args:
 
420
  return predictions, references
421
 
422
 
423
+ def compute_from_payload(self, payload: Payload, **kwargs):
424
  """
425
  Compute the metric from the payload.
426
  Args: