Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!!

like image 457
parth.singh71 Avatar asked Jun 11 '20 17:06

parth.singh71


2 Answers

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.

like image 163
user13729590 Avatar answered Sep 23 '22 01:09

user13729590


pip install -U scikit-image==0.16.2

like image 25
eson hu Avatar answered Sep 21 '22 01:09

eson hu