We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. Please be aware that imread/imresize under scipy.misc has been removed from 1.2.0/1.3.0. .https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.imread.html Thank you for the work!
The text was updated successfully, but these errors were encountered:
Yeah, I think you can fix this issue by changing a few lines in prepare_imagenet_data.py
First change: from scipy.misc import imread, imresize To: import imageio
Second change: img = imread(im_path, mode='RGB') To: img = imageio.imread(im_path, mode='RGB')
Third change: img = imresize(img,img_size) To: img = imageio.imresize(img,img_size)
This should fix the Scipy.misc Deprecation problem.
Sorry, something went wrong.
No branches or pull requests
Hi.
Please be aware that imread/imresize under scipy.misc has been removed from 1.2.0/1.3.0.
.https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.imread.html
Thank you for the work!
The text was updated successfully, but these errors were encountered: