code: def get_checkpoint_path(path=DEFAULT_PATH):
      # Expand user if path is relative to user home.
      path = os.path.expanduser(path)
  
      if not path.startswith("gs://"):
          # We don't need to create Google cloud storage "folders"
          path = os.path.abspath(path)
  
      if not tf.gfile.Exists(path):
          tf.logging.info(
              'Creating folder "{}" to save checkpoints.'.format(path)
          )
          tf.gfile.MakeDirs(path)
  
      return path
  
file_path: luminoth/luminoth/utils/checkpoint_downloader.py
imports: import click
  import json
  import os
  import requests
  import tarfile
  import tensorflow
  from luminoth.utils.homedir import get_luminoth_home
label_desc: Use image node_id 2 for calling a global function with example usage: get_checkpoint_path(path) and returns: path