code: def setUp(self):
      self._img_size = np.array([600, 800])
      self._prev_boxes = np.array(
          [
              [101, 101, 200, 200],
              [301, 301, 450, 450],
          ]
      ).astype(np.float32)
      self._prev_scores = np.array([0.9, 0.9])
      self._prev_classes = np.array([1, 1])
      self._prev_masks = np.ones((2, 600, 800)).astype("uint8")
      self._curr_boxes = np.array(
          [
              [302, 303, 451, 452],
              [101, 102, 201, 203],
          ]
      ).astype(np.float32)
      self._curr_scores = np.array([0.95, 0.85])
      self._curr_classes = np.array([1, 1])
      self._curr_masks = np.ones((2, 600, 800)).astype("uint8")
  
      self._prev_instances = {
          "image_size": self._img_size,
          "pred_boxes": self._prev_boxes,
          "scores": self._prev_scores,
          "pred_classes": self._prev_classes,
          "pred_masks": self._prev_masks,
      }
      self._prev_instances = self._convertDictPredictionToInstance(
          self._prev_instances
      )
      self._curr_instances = {
          "image_size": self._img_size,
          "pred_boxes": self._curr_boxes,
          "scores": self._curr_scores,
          "pred_classes": self._curr_classes,
          "pred_masks": self._curr_masks,
      }
      self._curr_instances = self._convertDictPredictionToInstance(
          self._curr_instances
      )
  
      self._max_num_instances = 200
      self._max_lost_frame_count = 0
      self._min_box_rel_dim = 0.02
      self._min_instance_period = 1
      self._track_iou_threshold = 0.5
  
file_path: detectron2/tests/tracking/test_bbox_iou_tracker.py
imports: import numpy
  import unittest
  from copy import deepcopy
  from typing import Dict
  import torch
  from detectron2.config import CfgNode
  from detectron2.config import instantiate
  from detectron2.structures import Boxes, Instances
  from detectron2.tracking.base_tracker import build_tracker_head
  from detectron2.tracking.bbox_iou_tracker import BBoxIOUTracker
label_desc: Use image node_id 1 for calling the TestBBoxIOUTracker obj's underlying member method code with example usage: obj.setUp() without return types