code: def _mkdir_p(path):
      """Make the path exists"""
      if not osp.exists(path):
          os.makedirs(path)
  
file_path: PaddleSeg/contrib/QualityInspector/tools/convert_tools/convert_coco_to_RoI_mask.py
imports: import argparse
  import os
  import os.path
  import sys
  import cv2
  from pycocotools.coco import COCO
  from qinspector.utils.bbox_utils import adjust_bbox
  from qinspector.utils.visualizer import polygons_to_bitmask
label_desc: Use image node_id 2 for calling a global function with example usage: _mkdir_p(path) without return types