chess icon indicating copy to clipboard operation
chess copied to clipboard

Deprecated parameters in scikit-image & scikit-learn

Open niederhuth opened this issue 2 years ago • 2 comments

get_structures.py & cross_correlation.py both use parameters that are now deprecated in scikit-image and scikit-learn. This results in failure when running chess extract and chess cross-correlate.

Specifically in get_structures.py lines 130 & 137 use the deprecated parameter multichannel=False. This is now channel_axis=None in later versions of scikit-image. And in cross_correlation.py, line 97 uses precomputes_distances=True with Kmeans from scikit-learn. This has now simply been removed from Kmeans and is no longer used.

If you install chess using pip, then it automatically installs later versions of scikit-image and scikit-learn creating a lot of headaches. Can the chess scripts be updated for later versions or can the pip installation be modified to require the older versions?

niederhuth avatar Dec 14 '23 16:12 niederhuth

I also encountered the same problem, looking forward to reply

liuyc27 avatar Dec 23 '24 08:12 liuyc27

Same here, is there anything we can do to solve this problem?

ZYX0711 avatar May 27 '25 05:05 ZYX0711