code: def predict_and_eval(self, model_path):
      predictor = Predictor.from_checkpoint(
          default_predictor_params(), checkpoint=model_path
      )
      for sample in predictor.predict(file_dataset()):
          self.assertGreater(sample.outputs.avg_char_probability, 0.95)
  
file_path: calamari/calamari_ocr/test/test_model_migration.py
imports: import os
  import shutil
  import tempfile
  import unittest
  from tensorflow import keras
  from tfaip import DeviceConfigParams
  from tfaip.device.device_config import DeviceConfig
  from calamari_ocr.ocr import SavedCalamariModel
  from calamari_ocr.ocr.predict.predictor import Predictor
  from calamari_ocr.test.test_prediction import default_predictor_params, file_dataset
label_desc: Use image node_id 2 for calling the TestModelMigration obj's underlying member method code with example usage: obj.predict_and_eval(model_path) without return types