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

cannot import name 'pad' from 'skimage.util' #555

Open
almaksimova opened this issue Mar 30, 2023 · 6 comments
Open

cannot import name 'pad' from 'skimage.util' #555

almaksimova opened this issue Mar 30, 2023 · 6 comments

Comments

@almaksimova
Copy link

Hi! In colab I noticed this error while downloading from demo import load_checkpoints

Making pip install -r requirements.txt or just !pip install -U scikit-image==0.14.2 did not help. As far as I know we should use np.pad instead of skimage.util.pad in file augmentation.py, and this issue will be fixed.

If not, maybe you know how try demo in colab different way?

@aakarsh1011
Copy link

Hi, it worked for me using after using this, !pip install -U scikit-image==0.18.0

@paburo-san666
Copy link

i have the same problem

@paburo-san666
Copy link

Hi, it worked for me using after using this, !pip install -U scikit-image==0.18.0

how?
please explain how did you fix it

@by321
Copy link

by321 commented Apr 13, 2023

just change pad(...) to numpy.pad(...)

@aakarsh1011
Copy link

Hi, it worked for me using after using this, !pip install -U scikit-image==0.18.0

how?

please explain how did you fix it

For me it was just a dependency issue I guess, so I just downloaded the previous scikit-image version.

@graphemecluster
Copy link
Contributor

@AliaksandrSiarohin Fixed by #565.

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

5 participants