class_docstr: Base class for dataset predictors.
  These are predictors which run over a :class:`DataFlow`.
class_docstr_tok: ["Base","class","for","dataset","predictors",".","These","are","predictors","which","run","over","a",":","class",":","`","DataFlow","`","."]
docstr: Yields:
      output for each datapoint in the DataFlow.
docstr_tok: ["Yields",":","output","for","each","datapoint","in","the","DataFlow","."]
code: def get_result(self):
      """
      Yields:
          output for each datapoint in the DataFlow.
      """
      pass
  
imports: import multiprocessing
  import os
  from abc import ABCMeta, abstractmethod
  import six
  from ..dataflow import DataFlow
  from ..dataflow.remote import dump_dataflow_to_process_queue
  from ..utils import logger
  from ..utils.develop import HIDE_DOC
  from ..utils.concurrency import DIE, OrderedResultGatherProc, ensure_proc_terminate
  from ..utils.gpu import change_gpu, get_num_gpu
  from ..utils.utils import get_tqdm
  from .base import OfflinePredictor
  from .concurrency import MultiProcessQueuePredictWorker
  from .config import PredictConfig
label_desc: Use image node_id 2 for calling the DatasetPredictorBase obj's underlying member method code with example usage: obj.get_result() without return types