Search code examples
pythontensorflowdeep-learningconv-neural-networkscikit-image

Input image dtype is bool. Interpolation is not defined with bool data type


I am facing this issue while using Mask_RCNN to train on my custom dataset with multiple classes.

This error occurs when I start training. This is what I get:

/home/parth/anaconda3/envs/compVision/lib/python3.7/site-packages/skimage/transform/_warps.py:830: FutureWarning: Input image dtype is bool. Interpolation is not defined with bool data type. Please set order to 0 or explicitely cast input image to another data type. Starting from version 0.19 a ValueError will be raised instead of this warning. order = _validate_interpolation_order(image.dtype, order)

I keep getting this for like a hundred times and then the kernel dies. Please Help!!


Solution

  • Maybe you can try the skimage version 0.16.2。when I use the version 0.17.2, I faced the same issue.Good luck!Idont know why.