code: def _create_cat_meta_with_train_id(cat_meta_info):
      cat_meta_info = copy.deepcopy(cat_meta_info)
      for entry in cat_meta_info:
          entry.update({"id": entry.pop("trainId")})
      return cat_meta_info
  
file_path: PaddleSeg/contrib/PanopticSeg/paddlepanseg/datasets/cityscapes.py
imports: import copy
  import os.path
  from paddlepanseg.cvlibs import manager
  from .base_dataset import COCOStylePanopticDataset
label_desc: Use image node_id 1 for calling a global function with example usage: _create_cat_meta_with_train_id(cat_meta_info) and returns: cat_meta_info