Closed smrtknow closed 1 year ago
something with this line from demo import load_checkpoints, make_animation # type: ignore (local file)
from demo import load_checkpoints, make_animation # type: ignore (local file)
the error done is
ImportError Traceback (most recent call last) in <cell line: 14>() 12 import warnings 13 from base64 import b64encode ---> 14 from demo import load_checkpoints, make_animation # type: ignore (local file) 15 from google.colab import files, output 16 from IPython.display import HTML, Javascript 3 frames /content/augmentation.py in 10 11 from skimage.transform import resize, rotate ---> 12 from skimage.util import pad 13 import torchvision 14 ImportError: cannot import name 'pad' from 'skimage.util' (/usr/local/lib/python3.9/dist-packages/skimage/util/init.py) NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below.
ImportError Traceback (most recent call last) in <cell line: 14>() 12 import warnings 13 from base64 import b64encode ---> 14 from demo import load_checkpoints, make_animation # type: ignore (local file) 15 from google.colab import files, output 16 from IPython.display import HTML, Javascript
3 frames /content/augmentation.py in 10 11 from skimage.transform import resize, rotate ---> 12 from skimage.util import pad 13 import torchvision 14
ImportError: cannot import name 'pad' from 'skimage.util' (/usr/local/lib/python3.9/dist-packages/skimage/util/init.py)
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
did you fix it?
this is not fucking helpful
something with this line
from demo import load_checkpoints, make_animation # type: ignore (local file)
the error done is