kevinconka commited on
Commit
bad2f30
1 Parent(s): c921506

Update det-metrics.py

Browse files
Files changed (1) hide show
  1. det-metrics.py +1 -1
det-metrics.py CHANGED
@@ -193,7 +193,7 @@ class DetectionMetric(evaluate.Metric):
193
  **kwargs
194
  )
195
 
196
- @deprecated(reason="Use `module.from_payload` instead")
197
  def add_batch(self, payload: Payload, model_name: str = None):
198
  """Takes as input a payload and adds the batch to the metric"""
199
  self.add_payload(payload, model_name)
 
193
  **kwargs
194
  )
195
 
196
+ @deprecated(reason="Use `module.add_payload` instead")
197
  def add_batch(self, payload: Payload, model_name: str = None):
198
  """Takes as input a payload and adds the batch to the metric"""
199
  self.add_payload(payload, model_name)