class_docstr: Simply create one predictor and run it on the DataFlow.
class_docstr_tok: ["Simply","create","one","predictor","and","run","it","on","the","DataFlow","."]
code: def __init__(self, config, dataset):
      super(SimpleDatasetPredictor, self).__init__(config, dataset)
      self.predictor = OfflinePredictor(config)
  
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 1 to create a new SimpleDatasetPredictor object from inherited base classes: DatasetPredictorBase with example: obj = SimpleDatasetPredictor(config, dataset)