def load_labels(csv_file):
    """Load annotated labels from csv file.

    Params:
        csv_file: path of annotations file
    Returns:
        labels: list of int represents the class
    """
    with open(csv_file, "r") as f:
        labels = f.read()
    labels = labels.split(",")
    labels = [int(label) for label in labels]
    return labels