code: def __init__(self, ann_file, ann_folder, output_dir="panoptic_eval"):
      self.gt_json = ann_file
      self.gt_folder = ann_folder
      if utils.is_main_process():
          if not os.path.exists(output_dir):
              os.mkdir(output_dir)
      self.output_dir = output_dir
      self.predictions = []
  
file_path: detr/datasets/panoptic_eval.py
imports: import json
  import os
  import util.misc
label_desc: Use image node_id 1 to create a new PanopticEvaluator object from inherited base classes: object with example: obj = PanopticEvaluator(ann_file, ann_folder, output_dir)