code: def load_class_desc(data_dir):
      """Returns map from cid to class name."""
  
      class_names = {}
  
      with open(
          os.path.join(
              data_dir, "metadata", "class-descriptions-boxable.csv"
          ),
          newline="",
      ) as csvfile:
          for ri, row in enumerate(
              csv.reader(csvfile, delimiter=" ", quotechar="|")
          ):
              cid = row[0].split(",")[0]
              cname = " ".join([row[0].split(",")[1]] + row[1:])
              assert cid not in class_names
              class_names[cid] = cname
  
      return class_names
  
file_path: robustness/robustness/tools/openimgs_helpers.py
imports: import os
  import csv
  import numpy
  import torch
  import torch.utils.data
  import robustness.data_augmentation
  from robustness import imagenet_models
  from .folder import default_loader, IMG_EXTENSIONS
label_desc: Use image node_id 1 for calling a global function with example usage: load_class_desc(data_dir) and returns: class_names