FAST icon indicating copy to clipboard operation
FAST copied to clipboard

scipy.misc.imresize is deprecated

Open dylanmikesell opened this issue 4 years ago • 1 comments

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.

dylanmikesell avatar Nov 27 '20 22:11 dylanmikesell

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.

kexinrong avatar Nov 28 '20 18:11 kexinrong