code: def load_latest_saved_models(
      self, trainer, model_folder, device=None, best=False
  ):
      if device is None:
          device = torch.device(
              "cuda" if torch.cuda.is_available() else "cpu"
          )
      resume_epoch, model_suffix = c_f.latest_version(
          model_folder, "trunk_*.pth", best=best
      )
      if resume_epoch > 0:
          for obj_dict in [
              getattr(trainer, x, {})
              for x in self.saveable_trainer_objects
          ]:
              c_f.load_dict_of_models(
                  obj_dict,
                  model_suffix,
                  model_folder,
                  device,
                  log_if_successful=True,
              )
      return resume_epoch + 1
  
imports: import os
  import sqlite3
  import torch
  from .None import common_functions
label_desc: Use image node_id 5 for calling the HookContainer obj's underlying member method code with example usage: obj.load_latest_saved_models(trainer, model_folder, device, best) and returns: unknown