code: def convert_preds_to_coco_style(preds, show_pbar: bool = False):
      return convert_records_to_coco_style(
          records=preds,
          images=True,
          categories=False,
          show_pbar=show_pbar,
      )
  
file_path: icevision/icevision/data/convert_records_to_coco_style.py
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
  import json
  import numpy
  import PIL
label_desc: Use image node_id 8 for calling a global function with example usage: convert_preds_to_coco_style(preds, show_pbar) and returns: convert_records_to_coco_style