How to use the dataset of the ISBI

I want to train unet for semantic segmentation of the dataset ISBI.
but how to read the image format of TIF ?
The function ImageFolder can not be applied

It seems TIF is not included in the IMG_EXTENSIONS, so the easiest way would be to create an own Dataset and load your images in __getitem__.
You can find an example here.

1 Like

Thank for you help …