code: def set_recall_param(proposal_nums, iou_thrs):
      """Check proposal_nums and iou_thrs and set correct format."""
      if isinstance(proposal_nums, Sequence):
          _proposal_nums = np.array(proposal_nums)
      elif isinstance(proposal_nums, int):
          _proposal_nums = np.array([proposal_nums])
      else:
          _proposal_nums = proposal_nums
  
      if iou_thrs is None:
          _iou_thrs = np.array([0.5])
      elif isinstance(iou_thrs, Sequence):
          _iou_thrs = np.array(iou_thrs)
      elif isinstance(iou_thrs, float):
          _iou_thrs = np.array([iou_thrs])
      else:
          _iou_thrs = iou_thrs
  
      return _proposal_nums, _iou_thrs
  
file_path: mmdetection/mmdet/evaluation/functional/recall.py
imports: from collections.abc import Sequence
  import numpy
  from mmengine.logging import print_log
  from terminaltables import AsciiTable
  from .bbox_overlaps import bbox_overlaps
label_desc: Use image node_id 2 for calling a global function with example usage: set_recall_param(proposal_nums, iou_thrs) and returns: _proposal_nums,  _iou_thrs