Mask_RCNN icon indicating copy to clipboard operation
Mask_RCNN copied to clipboard

Training Using TIFF Images

Open glenbhermon opened this issue 1 year ago • 1 comments

Please guide me as to how I can work with TIFF Images for training Mask_RCNN.

glenbhermon avatar Jul 26 '23 11:07 glenbhermon

Hello @glenbhermon, you need to override the load_image() function in utils.py, as far as I understand Mask RCNN expects RGB (or better BGR) images at default. You can initialize your own load_image() function in your custom dataset class in order to process TIFF files. Be sure to change image channel count in your config class as well. Hope it helped!

petrus91 avatar Jul 28 '23 08:07 petrus91