def __init__(self, groundtruth=None, detections=None, agnostic_mode=False, iou_type='bbox', oks_sigmas=None):
    "COCOEvalWrapper constructor.\n\n    Note that for the area-based metrics to be meaningful, detection and\n    groundtruth boxes must be in image coordinates measured in pixels.\n\n    Args:\n      groundtruth: a coco.COCO (or coco_tools.COCOWrapper) object holding\n        groundtruth annotations\n      detections: a coco.COCO (or coco_tools.COCOWrapper) object holding\n        detections\n      agnostic_mode: boolean (default: False).  If True, evaluation ignores\n        class labels, treating all detections as proposals.\n      iou_type: IOU type to use for evaluation. Supports `bbox', `segm`,\n        `keypoints`.\n      oks_sigmas: Float numpy array holding the OKS variances for keypoints.\n    "
    cocoeval.COCOeval.__init__(self, groundtruth, detections, iouType=iou_type)
    if (oks_sigmas is not None):
        self.params.kpt_oks_sigmas = oks_sigmas
    if agnostic_mode:
        self.params.useCats = 0
    self._iou_type = iou_type
COCOEvalWrapper constructor.

Note that for the area-based metrics to be meaningful, detection and
groundtruth boxes must be in image coordinates measured in pixels.

Args:
  groundtruth: a coco.COCO (or coco_tools.COCOWrapper) object holding
    groundtruth annotations
  detections: a coco.COCO (or coco_tools.COCOWrapper) object holding
    detections
  agnostic_mode: boolean (default: False).  If True, evaluation ignores
    class labels, treating all detections as proposals.
  iou_type: IOU type to use for evaluation. Supports `bbox', `segm`,
    `keypoints`.
  oks_sigmas: Float numpy array holding the OKS variances for keypoints.
def __init__(self, groundtruth=None, detections=None, agnostic_mode=False, iou_type='bbox', oks_sigmas=None):
    "COCOEvalWrapper constructor.\n\n    Note that for the area-based metrics to be meaningful, detection and\n    groundtruth boxes must be in image coordinates measured in pixels.\n\n    Args:\n      groundtruth: a coco.COCO (or coco_tools.COCOWrapper) object holding\n        groundtruth annotations\n      detections: a coco.COCO (or coco_tools.COCOWrapper) object holding\n        detections\n      agnostic_mode: boolean (default: False).  If True, evaluation ignores\n        class labels, treating all detections as proposals.\n      iou_type: IOU type to use for evaluation. Supports `bbox', `segm`,\n        `keypoints`.\n      oks_sigmas: Float numpy array holding the OKS variances for keypoints.\n    "
    cocoeval.COCOeval.__init__(self, groundtruth, detections, iouType=iou_type)
    if (oks_sigmas is not None):
        self.params.kpt_oks_sigmas = oks_sigmas
    if agnostic_mode:
        self.params.useCats = 0
    self._iou_type = iou_type