code: def load_proposal_roidb(
      dataset_name,
      image_set_name,
      root_path,
      dataset_path,
      proposal="rpn",
      append_gt=True,
      flip=False,
  ):
      """load proposal roidb (append_gt when training)"""
      imdb = eval(dataset_name)(image_set_name, root_path, dataset_path)
      gt_roidb = imdb.gt_roidb()
      roidb = eval("imdb." + proposal + "_roidb")(gt_roidb, append_gt)
      if flip:
          roidb = imdb.append_flipped_images(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 2 for calling a global function with example usage: load_proposal_roidb(dataset_name, image_set_name, root_path, dataset_path, proposal, append_gt, flip) and returns: roidb