FutureWarning: Input image dtype is bool

E:Anaconda3installenvswind_202104libsite-packagesskimage	ransform\_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)

pip install -U scikit-image==0.16.2

参考:https://stackoverflow.com/questions/62330374/input-image-dtype-is-bool-interpolation-is-not-defined-with-bool-data-type

######################################3

QQ 3087438119
原文地址:https://www.cnblogs.com/herd/p/14676810.html