def load_labels(labels_path):
    """Loads labels of the Standard365 Places2 Dataset

    Parameters
    ----------
    labels_path : str
        The location of the Standard365 Place2 labels file.

    Returns
    -------
        Two lists. First represents class labels. Second
        indoors/outdoors labels matching the first list`s labels.

    """
    classes = []
    outdoors_indoors = []
    with open(labels_path) as labels_file:
        for line in labels_file:
            classes.append(line[3:line.find(' ')])
            outdoors_indoors.append(line[line.find(' '):].strip())

    return classes, outdoors_indoors