def read_ground_truth(gt_file):
    """
    Ground Truth read function for imagenet validation data
    :param gt_file: file available @ http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
    :return: List[str], List[int] with ground truth file name and class
    """
    true_classes = []
    filenames = []
    with open(gt_file, 'r') as f:
        for l in f.readlines():
            line = l.split()
            filenames.append(line[0].strip())
            true_classes.append(int(line[1].strip()))
    return filenames, true_classes