code: def test_load_checkpoint_using_path(self):
      cpkt_path = os.path.join(
          self.test_checkpoints_path, "test_model_weights_state_dict.p"
      )
      torch.save(
          torch.load(self.checkpoint_paths[0], map_location="cpu"),
          cpkt_path,
      )  # change the ckpt path
      self.test_experiment.load_checkpoint(cpkt_path)
  
      self.assertEqual(
          self.test_experiment.model.network.state_dict(),
          torch.load(cpkt_path, map_location="cpu"),
      )
  
imports: import os
  from tempfile import TemporaryDirectory
  from unittest import TestCase
  import torch
  from torch import nn
  from poutyne import Experiment
  from tests.framework.experiment.utils import ConstantMetric, ConstantMetricCallback
  from tests.framework.tools import SomeDataGeneratorWithLen
label_desc: Use image node_id 6 for calling the BaseExperimentCheckpointLoadingTest obj's underlying member method code with example usage: obj.test_load_checkpoint_using_path() without return types