KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
13.11k stars 1.39k forks source link

Errors when trying to launch app.py #140

Closed darkguset closed 4 months ago

darkguset commented 4 months ago

I am on Linux Mint, i installed miniconda3 as the environment, passed all the installations without any errors, but when I try to launch app.py with Python I get the following errors: image

zzzweakman commented 4 months ago

Thank you for your attention! Could you confirm that all the weights are placed in the correct location and that their sizes match those indicated in the table in the readme? @darkguset

darkguset commented 4 months ago

Aha! You are right, all the models exist but they are 134 bytes small! I used the git clone method to get them, but perhaps I should had downloaded them manually instead. I will download the models from Google drive, try again and let you know if it worked.

cleardusk commented 4 months ago

@darkguset Maybe you should git lfs install first, then git clone https://huggingface.co/KwaiVGI/liveportrait pretrained_weights

darkguset commented 4 months ago

I downloaded the weights and placed them manually - there is definitely progress but now I see a different error: image

zzzweakman commented 4 months ago

It seems there might be an issue with your CUDA installation. Could you please verify that both CUDA and cuDNN are correctly installed on your system? Typically, libnvrtc.so is included with the CUDA toolkit. @darkguset

darkguset commented 4 months ago

It seems there might be an issue with your CUDA installation. Could you please verify that both CUDA and cuDNN are correctly installed on your system? Typically, libnvrtc.so is included with the CUDA toolkit. @darkguset

You were right. I thought I had installed it earlier but I think I somehow missed it. I installed CUDA and cuDNN and it seems to work now!

Many thanks guys! You can close this ticket (or If I am supposed to do that I will).