import csv


def load_aitlas_format_dataset(file_path):
    """Reads the images from a CSV. Format: (image_path, class_name)"""
    data = []

    with open(file_path, "r") as f:
        csv_reader = csv.reader(f)
        for index, row in enumerate(csv_reader):
            path = row[0]
            item = (path, row[1])
            data.append(item)

        return data