class_docstr: A predictor that runs the model asynchronously, possibly on >1 GPUs.
  Because rendering the visualization takes considerably amount of time,
  this helps improve throughput when rendering videos.
class_docstr_tok: ["A","predictor","that","runs","the","model","asynchronously",",","possibly","on",">","1","GPUs",".","Because","rendering","the","visualization","takes","considerably","amount","of","time",",","this","helps","improve","throughput","when","rendering","videos","."]
code: def __len__(self):
      return self.put_idx - self.get_idx
  
imports: import atexit
  import bisect
  import multiprocessing
  from collections import deque
  import cv2
  import torch
  from detectron2.data import MetadataCatalog
  from detectron2.engine.defaults import DefaultPredictor
  from detectron2.utils.video_visualizer import VideoVisualizer
  from detectron2.utils.visualizer import ColorMode, Visualizer
label_desc: Use image node_id 4 for calling the AsyncPredictor obj's underlying member method code with example usage: obj.__len__() and returns: unknown