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 1.5.2 ImportError: cannot import name 'imresize' #233

Open
Saumya353 opened this issue Nov 8, 2020 · 3 comments
Open

scipy 1.5.2 ImportError: cannot import name 'imresize' #233

Saumya353 opened this issue Nov 8, 2020 · 3 comments

Comments

@Saumya353
Copy link

Saumya353 commented Nov 8, 2020

ImportError Traceback (most recent call last)
in
1 # Reshaping the training data
----> 2 from scipy.misc import imresize
3
4 #X_train_new = np.array([imresize(X_train[i],(200,200,3)) for i in range(0,len(X_train))]).astype('float32')
5 X_train_new = np.array([imresize(X_train[i],(200,200,3)) for i in range(0,100)]).astype('float32')

ImportError: cannot import name 'imresize'

Please let me know how to fix this issue, I have scipy 1.5.2

@bersbersbers
Copy link

See #221

@abc1044
Copy link

abc1044 commented Mar 28, 2021

That's because imresize has been removed from scipy since v1.3.0rc1,see #209

@juanlopezcode
Copy link

how to overcome this?

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

4 participants