code: def get_labels(targ, label_map):
      pos_labels, neg_labels = [], []
      for ti, t in enumerate(targ.numpy()):
          if t == 1:
              pos_labels.append(f"+ {label_map[ti]}")
          elif t == -1:
              neg_labels.append(f"- {label_map[ti]}")
      return ", ".join(pos_labels) + " | " + ", ".join(neg_labels)
  
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 5 for calling a global function with example usage: get_labels(targ, label_map) and returns: unknown