code: def get_checkpoint_dir(path_to_job):
      """
      Get path for storing checkpoints.
      Args:
          path_to_job (string): the path to the folder of the current job.
      """
      return os.path.join(path_to_job, "checkpoints")
  
imports: import copy
  import math
  import numpy
  import os
  import pickle
  from collections import OrderedDict
  import torch
  import slowfast.utils.distributed
  import slowfast.utils.logging
  from slowfast.utils.c2_model_loading import get_name_convert_func
  from slowfast.utils.env import checkpoint_pathmgr
label_desc: Use image node_id 2 for calling a global function with example usage: get_checkpoint_dir(path_to_job) and returns: os