code: def get_label2id(labels_path: str) -> Dict[str, int]:
      """id is 1 start"""
      with open(labels_path, "r") as f:
          labels_str = f.read().split()
      labels_ids = list(range(1, len(labels_str) + 1))
      return dict(zip(labels_str, labels_ids))
  
file_path: autogluon/multimodal/src/autogluon/multimodal/cli/voc2coco.py
imports: import argparse
  import json
  import os
  import random
  import re
  import subprocess
  from typing import Dict, List
  import defusedxml.ElementTree
  from tqdm import tqdm
  from autogluon.multimodal.utils.object_detection import dump_voc_classes, dump_voc_xml_files, process_voc_annotations
label_desc: Use image node_id 1 for calling a global function with example usage: get_label2id(labels_path) and returns: dict