code: def test_single_image_viz(self) -> None:
      frcnn_visualizer = SingleImageViz(
          self.img, id2obj=self.objids, id2attr=self.attrids
      )
      frcnn_visualizer.draw_boxes(
          self.output_dict.get("boxes"),
          self.output_dict.pop("obj_ids"),
          self.output_dict.pop("obj_probs"),
          self.output_dict.pop("attr_ids"),
          self.output_dict.pop("attr_probs"),
      )
  
      buffer = frcnn_visualizer._get_buffer()
  
      self.assertTrue((buffer == self.buffer).all())
  
imports: import unittest
  import numpy
  import torch
  from mmf.utils.features.visualizing_image import SingleImageViz
label_desc: Use image node_id 1 for calling the TestVisualize obj's underlying member method code with example usage: obj.test_single_image_viz() without return types