code: def diff_image_id(coco2017_train_ids, ref_ids):
      set1 = set(coco2017_train_ids)
      set2 = set(ref_ids)
      intersection = set1.intersection(set2)
      result = set1 - intersection
      return result
  
imports: import argparse
  import json
  import os.path
  import mmengine
  from pycocotools.coco import COCO
label_desc: Use image node_id 1 for calling a global function with example usage: diff_image_id(coco2017_train_ids, ref_ids) and returns: result