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.56k stars 3.22k forks source link

Import "demo" could not be resolved #543

Closed paulreichling closed 1 year ago

paulreichling commented 1 year ago

Trying to run the collab demo and I get this. I already saw https://github.com/AliaksandrSiarohin/first-order-model/issues/528 and this did not fix my issue. Any help would be appreciated

ModuleNotFoundError Traceback (most recent call last)

in ----> 1 from demo import load_checkpoints 2 generator, kp_detector = load_checkpoints(config_path='config/vox-256.yaml', 3 checkpoint_path='/content/gdrive/My Drive/first-order-motion-model/vox-cpk.pth.tar')

/content/first-order-model/demo.py in 15 from animate import normalize_kp 16 ---> 17 import ffmpeg 18 from os.path import splitext 19 from shutil import copyfileobj

ModuleNotFoundError: No module named 'ffmpeg'

graphemecluster commented 1 year ago

The old demo is no longer maintained. Please use the new demo.


If you insist on using it, please run %pip install ffmpeg-python imageio-ffmpeg.

paulreichling commented 1 year ago

Thank you for the help!

paburo-san666 commented 1 year ago

The old demo is no longer maintained. Please use the new demo.

If you insist on using it, please run %pip install ffmpeg-python imageio-ffmpeg.

what is the new demo?!!!!!!!!!!!!!!!!!!!!!!!

graphemecluster commented 1 year ago

@paburo-san666 demo.ipynb is the new demo, and old_demo.ipynb is the old demo.