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

scipy.misc.imresize is deprecated #25

Open
dylanmikesell opened this issue Nov 27, 2020 · 1 comment
Open

scipy.misc.imresize is deprecated #25

dylanmikesell opened this issue Nov 27, 2020 · 1 comment

Comments

@dylanmikesell
Copy link

FYI, the call to imresize() in feature_extractor.py is not working when I am running this on a mac with Python 3.

This function is deprecated, see this page. I found a replacement in skimage.transform.resize.

I am testing the change now. I am running the Hector Mine experiment with the Python 2.8 version and if my fix works I will submit a pull request.

@kexinrong
Copy link
Contributor

If you downgrade your scipy to an earlier version, the code should still work for Python3. Please feel free to submit a pull request for the fix. In the meantime, I will update the requirements to include an earlier version of scipy.

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

2 participants