'given image index, return preprocessed ground-truth
Parameters:
index: int
index of a specific image
Returns:
ground-truths of this image'

def label_from_index(self, index):

    assert (self.labels is not None), 'Labels    not    processed'
    return self.labels[index]
