code: def get_labelmap(label_list):
      label2id = {}
      id2label = {}
      for i, label in enumerate(label_list):
          label2id[label] = i + 1
          id2label[i + 1] = label
      return label2id, id2label
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_labelmap(label_list) and returns: label2id,  id2label