code: def load_gt_roidb(
      dataset_name, image_set_name, root_path, dataset_path, flip=False
  ):
      """load ground truth roidb"""
      imdb = eval(dataset_name)(image_set_name, root_path, dataset_path)
      roidb = imdb.gt_roidb()
      print("roidb size", len(roidb))
      if flip:
          roidb = imdb.append_flipped_images(roidb)
      print("flipped roidb size", len(roidb))
      return roidb
  
file_path: insightface/detection/retinaface/rcnn/utils/load_data.py
imports: import numpy
  from ..logger import logger
  from ..config import config
  from ..dataset import *
label_desc: Use image node_id 1 for calling a global function with example usage: load_gt_roidb(dataset_name, image_set_name, root_path, dataset_path, flip) and returns: roidb