code: def compute_quant_scores(
      opts, predictions: List, *args, **kwargs
  ) -> None:
      dataset_name = getattr(opts, "dataset.name", None)
      if dataset_name.find("coco") > -1:
          coco_evaluation(opts=opts, predictions=predictions)
      else:
          raise NotImplementedError
  
file_path: ml-cvnets/engine/detection_utils/coco_map.py
imports: import io
  import os
  from contextlib import redirect_stdout
  from typing import List, Optional
  import numpy
  from pycocotools import mask
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
  from utils import logger
label_desc: Use image node_id 2 for calling a global function with example usage: compute_quant_scores(opts, predictions) without return types