code: def load_gt_from_txts(gt_file):
      gt_list = glob.glob(gt_file)
      gt_collection = {}
      for gt_f in gt_list:
          gt_dict = load_gt_from_file(gt_f)
          basename = os.path.basename(gt_f)
          if "fp32" in basename:
              gt_collection["fp32"] = [gt_dict, gt_f]
          elif "fp16" in basename:
              gt_collection["fp16"] = [gt_dict, gt_f]
          elif "int8" in basename:
              gt_collection["int8"] = [gt_dict, gt_f]
          else:
              continue
      return gt_collection
  
file_path: PaddleDetection/test_tipc/compare_results.py
imports: import numpy
  import os
  import subprocess
  import json
  import argparse
  import glob
label_desc: Use image node_id 6 for calling a global function with example usage: load_gt_from_txts(gt_file) and returns: gt_collection