code: def _get_pred_instances():
      instances_data = dict(
          bboxes=torch.tensor(
              [[900, 500, 1000, 600], [1300, 400, 1500, 800]]
          ),
          instances_id=torch.tensor([1, 2]),
          labels=torch.tensor([0, 1]),
          scores=torch.tensor([0.955, 0.876]),
      )
      instances = InstanceData(**instances_data)
      return instances
  
imports: import os
  from unittest import TestCase
  import cv2
  import numpy
  import torch
  from mmengine.structures import InstanceData, PixelData
  from mmdet.evaluation import INSTANCE_OFFSET
  from mmdet.structures import DetDataSample
  from mmdet.visualization import DetLocalVisualizer, TrackLocalVisualizer
label_desc: Use image node_id 2 for calling the TestTrackLocalVisualizer obj's underlying member method code with example usage: obj._get_pred_instances() and returns: instances