code: def mkdir(path):
      sub_dir = os.path.dirname(path)
      if not os.path.exists(sub_dir):
          os.makedirs(sub_dir)
  
file_path: PaddleSeg/contrib/LaneSeg/third_party/tusimple_processor.py
imports: import os
  import cv2
  import json
  import paddle.nn
  from .lane import LaneEval
  from .get_lane_coords import LaneProcessor
label_desc: Use image node_id 1 for calling a global function with example usage: mkdir(path) without return types