code: def test_convert_record_to_coco_annotations_empty():
      record = {
          "labels": [],
          "bboxes": [],
          "masks": [],
          "scores": [],
          "masks": EncodedRLEs(),
      }
      res = convert_record_to_coco_annotations(record)
      assert set(res.keys()) == {
          "image_id",
          "category_id",
          "bbox",
          "area",
          "iscrowd",
          "score",
          "segmentation",
      }
  
file_path: icevision/tests/data/test_convert_records_to_coco_style.py
imports: import pytest
  import icevision
  from icevision.all import *
label_desc: Use image node_id 6 for calling a global function with example usage: test_convert_record_to_coco_annotations_empty() without return types