def _get_label(path):
    label_name = path.split('/')[0]
    label = None
    if (label_name != VggFace2Path.IMAGES_DIR_NO_LABEL):
        label = self._categories[AnnotationType.label].find(label_name)[0]
    return label
def _get_label(path):
    label_name = path.split('/')[0]
    label = None
    if (label_name != VggFace2Path.IMAGES_DIR_NO_LABEL):
        label = self._categories[AnnotationType.label].find(label_name)[0]
    return label