code: def test_init(self):
      # test invalid iou_thrs
      with self.assertRaises(AssertionError):
          OpenImagesMetric(iou_thrs={"a", 0.5}, ioa_thrs={"b", 0.5})
      # test ioa and iou_thrs length not equal
      with self.assertRaises(AssertionError):
          OpenImagesMetric(iou_thrs=[0.5, 0.75], ioa_thrs=[0.5])
  
      metric = OpenImagesMetric(iou_thrs=0.6)
      self.assertEqual(metric.iou_thrs, [0.6])
  
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 2 for calling the TestOpenImagesMetric obj's underlying member method code with example usage: obj.test_init() without return types