def generate_path_dict(images_path, labels_path, partial_f_name):
    """
    Generate split data path dict, also contains the corresponding label directories.
    :param images_path: str - image top path
    :param labels_path: str - label top path
    :param partial_f_name: str - ending annotation name
    :return: Dict - resulting path dict
    """
    path_dict = {
        'images': {'train': images_path + 'train/',
                   'test': images_path + 'test/',
                   'val': images_path + 'val/'},

        'labels': {'train': labels_path + 'train' + partial_f_name,
                   'test': labels_path + 'test' + partial_f_name,
                   'val': labels_path + 'val' + partial_f_name},
        'labels_path': labels_path
    }
    return path_dict