Ejemplo n.º 1
0
 def labels(self) -> ImageSet:
     """
     Returns the label images.
     """
     if self.__labels is None:
         (self.__images,
          self.__labels) = load_images_labels(self._components['images'],
                                              self._components['labels'])
     return self.__labels
Ejemplo n.º 2
0
 def labels(self) -> ImageSet:
     """
     Returns the label images.
     """
     if self.__labels is None:
         (self.__images,
          self.__labels) = load_images_labels(self._components['images'],
                                              self._components['labels'],
                                              config.config.dataset.classes)
     return self.__labels