code: def default_trainer_params(
      *, with_validation=False, with_split=False, preload=True
  ):
      p = uw3_trainer_params(
          with_validation=with_validation, with_split=with_split
      )
      if hasattr(p.gen, "val"):
          p.gen.val.preload = preload
      p.gen.train.preload = preload
      for dp in p.scenario.data.pre_proc.processors_of_type(
          AugmentationProcessorParams
      ):
          dp.n_augmentations = 1
      return p
  
file_path: calamari/calamari_ocr/test/test_augmentation.py
imports: import tempfile
  import unittest
  from tensorflow import keras
  from calamari_ocr.ocr.dataset.imageprocessors import AugmentationProcessorParams
  from calamari_ocr.scripts.train import main
  from calamari_ocr.test.test_train_file import uw3_trainer_params
label_desc: Use image node_id 1 for calling a global function with example usage: default_trainer_params() and returns: p