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]

    Create output directories for training and validation images and annotations.
    
contrib/QualityInspector/tools/dataset/MT_dataset.py