code: def test_resume_training(self):
      with tempfile.TemporaryDirectory() as d:
          # Test training
          check_call(
              [
                  "calamari-train",
                  "--train.images",
                  os.path.join(
                      this_dir,
                      "data",
                      "uw3_50lines",
                      "train",
                      "*.bin.png",
                  ),
                  "--trainer.epochs",
                  "1",
                  "--trainer.samples_per_epoch",
                  "16",
                  "--trainer.output_dir",
                  d,
                  "--n_augmentations",
                  "2",
                  "--trainer.gen",
                  "SplitTrain",
                  "--network=cnn=4:3x3,pool=4x4,lstm=10,dropout=0.5",
              ]
          )
          check_call(
              [
                  "calamari-resume-training",
                  os.path.join(
                      d,
                      "checkpoint",
                      "checkpoint_0001",
                      "trainer_params.json",
                  ),
              ]
          )
  
file_path: calamari/calamari_ocr/test/test_command_line.py
imports: import os
  import tempfile
  import unittest
  from glob import glob
  from subprocess import check_call
  import uuid
label_desc: Use image node_id 1 for calling the TestCommandList obj's underlying member method code with example usage: obj.test_resume_training() without return types