tf-image-segmentation icon indicating copy to clipboard operation
tf-image-segmentation copied to clipboard

Use scipy.misc.imread instead of PIL Image

Open meetps opened this issue 7 years ago • 1 comments

WRT

https://github.com/warmspringwinds/tf-image-segmentation/blob/master/tf_image_segmentation/utils/tf_records.py#L37

I think you should reconsider using scipy.misc.imread in place of PIL Image, because for VOC datasets, the PIL loads a grayscale image for the segmentation annotation, while a 3 channel input is necessary to determine the segments.

meetps avatar Feb 04 '17 23:02 meetps