class_docstr: COCO-style evaluation.
  
  Args:
      config: a :class:`COCOEvaluationConfig`
class_docstr_tok: ["COCO-style","evaluation",".","Args",":","config",":","a",":","class",":","`","COCOEvaluationConfig","`"]
code: def __init__(self, config):
      super().__init__(config)
  
      if config.iou is None:
          raise ValueError(
              "You must specify an `iou` threshold in order to run COCO "
              "evaluation"
          )
  
      if config.classwise is None:
          raise ValueError(
              "You must specify a `classwise` value in order to run COCO "
              "evaluation"
          )
  
imports: import logging
  from collections import defaultdict
  import numpy
  import eta.core.utils
  import fiftyone.core.plots
  import fiftyone.utils.iou
  from .detection import DetectionEvaluation, DetectionEvaluationConfig, DetectionResults
label_desc: Use image node_id 1 to create a new COCOEvaluation object from inherited base classes: DetectionEvaluation with example: obj = COCOEvaluation(config)