SadTalker icon indicating copy to clipboard operation
SadTalker copied to clipboard

av False ,dlib False in Installing requirements for SadTalker

Open Erwin11 opened this issue 2 years ago • 1 comments

PC Spec:windows 11, 40G ram, 3060laptop 6G Stable Diffusion WebUI: python: 3.10.8  •  torch: 2.0.0+cu118  •  xformers: 0.0.18  •  gradio: 3.23.0  •  commit: [22bcc7be]

followed https://github.com/Winfredy/SadTalker/blob/main/docs/webui_extension.md after extension installed ,restart webui.bat then,show me


av False
Installing requirements for SadTalker
dlib False
Installing requirements for SadTalker

Bottom is full log: venv "G:\AI\pytorch2.0\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] Commit hash: 22bcc7be428c94e9408f589966c2040187245d81 Installing requirements for Web UI

Launching Web UI with arguments: --xformers G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional. warnings.warn( Loading weights [fc2511737a] from G:\AI\pytorch2.0\stable-diffusion-webui\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors Creating model from config: G:\AI\pytorch2.0\stable-diffusion-webui\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading VAE weights specified in settings: G:\AI\pytorch2.0\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors Applying xformers cross attention optimization. Textual inversion embeddings loaded(3): corneo_marin_kitagawa, EasyNegative, ulzzang-6500-v1.1 Model loaded in 5.1s (load weights from disk: 0.2s, create model: 0.6s, apply weights to model: 0.8s, apply half(): 0.8s, load VAE: 0.2s, move model to device: 1.1s, load textual inversion embeddings: 1.3s). av False Installing requirements for SadTalker dlib False Installing requirements for SadTalker Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch(). Startup time: 450.2s (import torch: 3.7s, import gradio: 2.1s, import ldm: 2.1s, other imports: 1.9s, setup codeformer: 0.1s, load scripts: 2.6s, load SD checkpoint: 5.6s, create ui: 431.9s, gradio launch: 0.2s).

I dont know how to fix it.

installing is very slow, is any solution to make it easier and faster?Thank you! 安装依赖很慢,打开webui.bat又不能开全局VPN, 有什么办法优化吗 ?谢谢!

Erwin11 avatar Apr 20 '23 09:04 Erwin11

emmmm,可以在这里添加国内的pip源。

https://github.com/Winfredy/SadTalker/blob/9023c7315d7bc7e532697dd71d0d56ac9b9a518d/scripts/extension.py#L102

变成:

 launch.run_pip("install "+ v + " -i https://pypi.tuna.tsinghua.edu.cn/simple", "requirements for SadTalker") 

vinthony avatar Apr 24 '23 14:04 vinthony