lib/dataset/deepv.py
def segmentation_path_from_index(self, index):
        """
        given image index, find out the full path of segmentation class
        :param index: index of a specific image
        :return: full path of segmentation class
        """
        seg_class_file = os.path.join(self.data_path, 'SegmentationClass', index + '.png')
        assert os.path.exists(seg_class_file), 'Path does not exist: {}'.format(seg_class_file)
        return seg_class_file

        given image index, find out the full path of segmentation class
        :param index: index of a specific image
        :return: full path of segmentation class
        
given image index, find out the full path of segmentation class
given image index find out the full path of segmentation class
def segmentation_path_from_index(self, index):
        seg_class_file = os.path.join(self.data_path, 'SegmentationClass', index + '.png')
        assert os.path.exists(seg_class_file), 'Path does not exist: {}'.format(seg_class_file)
        return seg_class_file
def segmentation_path_from_index ( self , index ) : seg_class_file = os . path . join ( self . data_path , 'SegmentationClass' , index + '.png' ) assert os . path . exists ( seg_class_file ) , 'Path does not exist: {}' . format ( seg_class_file ) return seg_class_file
given image index, find out the full path of segmentation class
given image index find out the full path of segmentation class
"""
        given image index, find out the full path of segmentation class
        :param index: index of a specific image
        :return: full path of segmentation class
        """
full path of segmentation class
full path of segmentation class
self
index
index of a specific image
index of a specific image