class_docstr: Applying data augmentation according to `DataAugmenterSpec`.
class_docstr_tok: ["Applying","data","augmentation","according","to","`","DataAugmenterSpec","`","."]
code: def __init__(self, data_augmenter_spec: DataAugmenterSpec):
      self.data_augmenter_spec: DataAugmenterSpec = data_augmenter_spec
  
imports: from typing import List
  from helm.common.hierarchical_logger import htrack
  from .augmentations.data_augmenter import create_data_augmenter, DataAugmenterSpec, DataAugmenter
  from .scenarios.scenario import Instance, TRAIN_SPLIT, EVAL_SPLITS
label_desc: Use image node_id 1 to create a new DataPreprocessor object  with example: obj = DataPreprocessor(data_augmenter_spec)