code: def default_trainer_params():
      p = CalamariTestScenario.default_trainer_params()
      p.gen.train = Abbyy(
          images=[
              os.path.join(
                  this_dir,
                  "data",
                  "hiltl_die_bank_des_verderbens_abbyyxml",
                  "*.jpg",
              ),
          ],
      )
      p.gen.val = PageXML(
          images=[
              os.path.join(
                  this_dir, "data", "avicanon_pagexml", "008.nrm.png"
              )
          ],
      )
  
      p.gen.setup.val.batch_size = 1
      p.gen.setup.val.num_processes = 1
      p.gen.setup.train.batch_size = 1
      p.gen.setup.train.num_processes = 1
      p.epochs = 1
      p.samples_per_epoch = 2
      p.scenario.data.pre_proc.run_parallel = False
      p.scenario.data.__post_init__()
      p.scenario.__post_init__()
      p.__post_init__()
      return p
  
file_path: calamari/calamari_ocr/test/test_train_mixed_data.py
imports: import os
  import tempfile
  import unittest
  from tensorflow.python.keras.backend import clear_session
  from calamari_ocr.ocr.dataset.datareader.abbyy.reader import Abbyy
  from calamari_ocr.ocr.dataset.datareader.pagexml.reader import PageXML
  from calamari_ocr.scripts.train import main
  from calamari_ocr.test.calamari_test_scenario import CalamariTestScenario
label_desc: Use image node_id 1 for calling a global function with example usage: default_trainer_params() and returns: p