code: def _create_output_path(output_path):
      """
      Create output directories for training and validation images and annotations.
      """
      image_output_path = os.path.join(output_path, "images")
      anno_output_path = os.path.join(output_path, "anno")
      train_img_path = os.path.join(image_output_path, "train")
      val_img_path = os.path.join(image_output_path, "val")
      train_anno_path = os.path.join(anno_output_path, "train")
      val_anno_path = os.path.join(anno_output_path, "val")
      _mkdir_p(train_img_path)
      _mkdir_p(val_img_path)
      _mkdir_p(train_anno_path)
      _mkdir_p(val_anno_path)
      return [
          train_img_path,
          val_img_path,
          train_anno_path,
          val_anno_path,
      ]
  
file_path: PaddleSeg/contrib/QualityInspector/tools/dataset/MT_dataset.py
imports: import argparse
  import os
  import os.path
  import shutil
  import cv2
label_desc: Use image node_id 3 for calling a global function with example usage: _create_output_path(output_path) and returns: list