code: def test_draw_no_metadata(self):
      img, boxes, _, _, masks = self._random_data()
      num_inst = len(boxes)
      inst = Instances((img.shape[0], img.shape[1]))
      inst.pred_classes = torch.randint(0, 80, size=(num_inst,))
      inst.scores = torch.rand(num_inst)
      inst.pred_boxes = torch.from_numpy(boxes)
      inst.pred_masks = torch.from_numpy(np.asarray(masks))
  
      v = Visualizer(img, MetadataCatalog.get("asdfasdf"))
      v.draw_instance_predictions(inst)
  
imports: import numpy
  import os
  import tempfile
  import unittest
  import cv2
  import torch
  from detectron2.data import MetadataCatalog
  from detectron2.structures import BoxMode, Instances, RotatedBoxes
  from detectron2.utils.visualizer import ColorMode, Visualizer
label_desc: Use image node_id 12 for calling the TestVisualizer obj's underlying member method code with example usage: obj.test_draw_no_metadata() without return types