eyaler / avatars4all

Live real-time avatars from your webcam in the browser. No dedicated hardware or software installation needed. A pure Google Colab wrapper for live First-order-motion-model, aka Avatarify in the browser. And other Colabs providing an accessible interface for using FOMM, Wav2Lip and Liquid-warping-GAN with your own media and a rich GUI.
Other
347 stars 68 forks source link

Ganivut.ipynb does not work [ubuntu 22.04 / python 3.10 / pytorch / cuda] #3

Open hklchung opened 1 year ago

hklchung commented 1 year ago

Can you please have a look at the error below? Tried running the notebook on Colab as is with the same demo URLs but it fails on animate cell.

The error I got is a missing file:

FileNotFoundError Traceback (most recent call last) in <cell line: 62>() 60 61 clear_output() ---> 62 mp4 = open("./results/primitives/mymodel/synthesis/imitations/mymodel-myoutput.mp4", "rb").read() 63 data_url = "data:video/mp4;base64," + b64encode(mp4).decode() 64 HTML(f"""

FileNotFoundError: [Errno 2] No such file or directory: './results/primitives/mymodel/synthesis/imitations/mymodel-myoutput.mp4'

All cells before this ran fine. I did not run any Optional cells. Checked the directories panel and found that in the ./results/promitives/mymodel/ folder there is no synthesis/ directory, only an empty folder call /processed

eyaler commented 1 year ago

notebook is currently broken due to changes of ubuntu/python versions and its compatibility with the project's cuda and pytorch versions. it getting hard to keep up with google constantly changing the environment... i will try to look into this when i have more time.