code: def _init_pre_processes(self, pre_processes):
      self.aug = []
      if pre_processes is not None:
          for aug in pre_processes:
              if "args" not in aug:
                  args = {}
              else:
                  args = aug["args"]
              if isinstance(args, dict):
                  cls = eval(aug["type"])(**args)
              else:
                  cls = eval(aug["type"])(args)
              self.aug.append(cls)
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/base/base_dataset.py
imports: import copy
  from paddle.io import Dataset
  from data_loader.modules import *
label_desc: Use image node_id 2 for calling the BaseDataSet obj's underlying member method code with example usage: obj._init_pre_processes(pre_processes) without return types