code: def get_ckpt_path(name, root, check=False):
      assert name in URL_MAP
      path = os.path.join(root, CKPT_MAP[name])
      if not os.path.exists(path) or (
          check and not md5_hash(path) == MD5_MAP[name]
      ):
          print(
              "Downloading {} model from {} to {}".format(
                  name, URL_MAP[name], path
              )
          )
          download(URL_MAP[name], path)
          md5 = md5_hash(path)
          assert md5 == MD5_MAP[name], md5
      return path
  
file_path: generative-models/sgm/modules/autoencoding/lpips/util.py
imports: import hashlib
  import os
  import requests
  import torch
  import torch.nn
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: get_ckpt_path(name, root, check) and returns: path