image-segmentation-keras
image-segmentation-keras copied to clipboard
Supported Image Format
Hi,
I am working with a dataset where the images and the corresponding masks are in .tif and not in .png. When I tried to train the segnet model, the data couldn't be loaded. Which image formats are supported as inputs to this framework?
If anyone has suggestion, kindly assist.
Thanks,
Yusuf
On keras-segmentation/data_utils/data_loader.py, line 36:
ACCEPTABLE_IMAGE_FORMATS = [".jpg", ".jpeg", ".png", ".bmp"]
ACCEPTABLE_SEGMENTATION_FORMATS = [".png", ".bmp"]
I hope this answers your question.