code: def _create_dummy_results(self):
      bboxes = np.array(
          [
              [23.2172, 31.7541, 987.3413, 357.8443],
              [100, 120, 130, 150],
              [150, 160, 190, 200],
              [250, 260, 350, 360],
          ]
      )
      scores = np.array([1.0, 0.98, 0.96, 0.95])
      labels = np.array([0, 0, 0, 0])
      return dict(
          bboxes=torch.from_numpy(bboxes),
          scores=torch.from_numpy(scores),
          labels=torch.from_numpy(labels),
      )
  
file_path: mmdetection/tests/test_evaluation/test_metrics/test_openimages_metric.py
imports: import unittest
  import numpy
  import torch
  from mmdet.datasets import OpenImagesDataset
  from mmdet.evaluation import OpenImagesMetric
  from mmdet.utils import register_all_modules
label_desc: Use image node_id 1 for calling the TestOpenImagesMetric obj's underlying member method code with example usage: obj._create_dummy_results() and returns: dict