Skip to content

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

@Saumya353

Description

@Saumya353

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions