code: def _get_image_id(image_path):
      basename = osp.basename(image_path)
      s = osp.splitext(basename)[0]
      return int(s)
  
imports: import os.path
  from paddlepanseg.cvlibs import manager
  from .base_dataset import COCOStylePanopticDataset
label_desc: Use image node_id 1 for calling the COCO obj's underlying member method code with example usage: obj._get_image_id(image_path) and returns: int