code: def get_load_param(self, gpu):
      if self.config.train.ckpt_path is not None:
          map_location = {"cuda:%d" % 0: "cuda:%d" % gpu}
          param = torch.load(
              self.config.train.ckpt_path, map_location=map_location
          )
      else:
          param = None
      return param
  
imports: import argparse
  import os
  import shutil
  import time
  import yaml
  import multiprocessing
  import numpy
  import torch
  import torch.nn
  import torch.optim
  import wandb
  from config.load_config import load_yaml, DotDict
  from data.dataset import SynthTextDataSet
  from loss.mseloss import Maploss_v2, Maploss_v3
  from model.craft import CRAFT
  from metrics.eval_det_iou import DetectionIoUEvaluator
  from eval import main_eval
  from utils.util import copyStateDict, save_parser
label_desc: Use image node_id 3 for calling the Trainer obj's underlying member method code with example usage: obj.get_load_param(gpu) and returns: param