code: def test_pretraining_with_codec_adaption_no_preload(self):
      trainer_params = default_pagexml_trainer_params(preload=False)
      with tempfile.TemporaryDirectory() as d:
          trainer_params.output_dir = d
          main(trainer_params)
  
file_path: calamari/calamari_ocr/test/test_pretrained.py
imports: import os
  import tempfile
  import unittest
  from tensorflow.python.keras.backend import clear_session
  from calamari_ocr.ocr import SavedCalamariModel
  from calamari_ocr.ocr.model.params import default_layers
  from calamari_ocr.scripts.train import main
  from calamari_ocr.test.test_train_file import uw3_trainer_params
  from calamari_ocr.test.test_train_pagexml import default_trainer_params
label_desc: Use image node_id 2 for calling the TestPretrained obj's underlying member method code with example usage: obj.test_pretraining_with_codec_adaption_no_preload() without return types