Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated parameters in scikit-image & scikit-learn #63

Open
niederhuth opened this issue Dec 14, 2023 · 0 comments
Open

Deprecated parameters in scikit-image & scikit-learn #63

niederhuth opened this issue Dec 14, 2023 · 0 comments

Comments

@niederhuth
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant