class_docstr: Wrapper around [cocoapi evaluator](https://github.com/cocodataset/cocoapi)
  
  Calculates average precision.
  
  # Arguments
      metric_type: Dependent on the task you're solving.
      print_summary: If `True`, prints a table with statistics.
      show_pbar: If `True` shows pbar when preparing the data for evaluation.
code: def accumulate(self, preds):
      for pred in preds:
          self._records.append(pred.ground_truth)
          self._preds.append(pred.pred)
  
file_path: icevision/icevision/metrics/coco_metric/coco_metric.py
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.data import *
  from icevision.metrics.metric import *
label_desc: Use image node_id 3 for calling the COCOMetric obj's underlying member method code with example usage: obj.accumulate(preds) without return types