AliaksandrSiarohin / first-order-model

This repository contains the source code for the paper First Order Motion Model for Image Animation
https://aliaksandrsiarohin.github.io/first-order-model-website/
MIT License
14.57k stars 3.22k forks source link

error #559

Closed smrtknow closed 1 year ago

smrtknow commented 1 year ago

something with this line from demo import load_checkpoints, make_animation # type: ignore (local file) image

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.

image

paburo-san666 commented 1 year ago

did you fix it?

ilovedogs1235 commented 1 year ago

this is not fucking helpful