code: def load_test_dataset_iou(test_folder_name, config):
      if test_folder_name == "synthtext":
          total_bboxes_gt, total_img_path = load_synthtext_gt(
              config.test_data_dir
          )
  
      elif test_folder_name == "icdar2013":
          total_bboxes_gt, total_img_path = load_icdar2013_gt(
              dataFolder=config.test_data_dir
          )
  
      elif test_folder_name == "icdar2015":
          total_bboxes_gt, total_img_path = load_icdar2015_gt(
              dataFolder=config.test_data_dir
          )
  
      elif test_folder_name == "custom_data":
          total_bboxes_gt, total_img_path = load_icdar2015_gt(
              dataFolder=config.test_data_dir
          )
  
      else:
          print("not found test dataset")
          return None, None
  
      return total_bboxes_gt, total_img_path
  
imports: import argparse
  import os
  import cv2
  import numpy
  import torch
  import torch.backends.cudnn
  from tqdm import tqdm
  import wandb
  from config.load_config import load_yaml, DotDict
  from model.craft import CRAFT
  from metrics.eval_det_iou import DetectionIoUEvaluator
  from utils.inference_boxes import test_net, load_icdar2015_gt, load_icdar2013_gt, load_synthtext_gt
  from utils.util import copyStateDict
label_desc: Use image node_id 5 for calling a global function with example usage: load_test_dataset_iou(test_folder_name, config) and returns: total_bboxes_gt,  total_img_path, None,  None