mitmedialab / AI-generated-characters

AI-generated-character
452 stars 105 forks source link

I try to use colab demo,it's run error 。 #5

Open lonesurvivor1984 opened 1 year ago

lonesurvivor1984 commented 1 year ago

I try to use colab demo,it's run error 。 how to fix it?



Animating Character with Driving Video: This might take a few minutes..
/content/first-order-model
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-4-76df4023fd33> in <module>
     10 get_ipython().system('cd /content/')
     11 print("Animating Character with Driving Video: This might take a few minutes..")
---> 12 animate_video(character_img, video_driver) # variables are only for showing HTML video
     13 final_video_driver = "/content/vidvid.mp4"
     14 

1 frames
/content/first-order-model/demo.py in <module>
     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'

---------------------------------------------------------------------------
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.
lonesurvivor1984 commented 1 year ago

I changed nothing.

ricohrh commented 1 year ago

pip install ffmpeg