安裝 Stable Diffusion Webui 與 sd-wav2lip-uhq 遇到的一些錯誤
Python: 3.10.11
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 --index-url https://download.pytorch.org/whl/cu118
No module 'xformers'. Proceeding without it.
執(zhí)行:
pip install xformers
將
commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
修改為
commandline_args = os.environ.get('COMMANDLINE_ARGS', "--xformers")
參考: https://blog.csdn.net/qq_27144923/article/details/130787220
error: openai/clip-vit-large-patch14
將 openai
整個文件夾放到 stable-diffusion-webui
代碼中搜索 openai/clip-vit-large-patch14
,將 openai/clip-vit-large-patch14
改成下面對應(yīng)的路徑垒拢,總共4處女嘲,2個 modules.py
中各2處需要修改
C:/Users/Administrator/Desktop/code/stable-diffusion-webui/openai/clip-vit-large
參考
https://blog.csdn.net/qq_39352483/article/details/133883932
Unable to load codeformer model.
Downloading: "https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth" to C:\Users\Administrator\Desktop\code\stable-diffusion-webui\models\Codeformer\codeformer-v0.1.0.pth
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to C:\Users\Administrator\Desktop\code\stable-diffusion-webui\repositories\CodeFormer\weights\facelib\detection_Resnet50_Final.pth
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to C:\Users\Administrator\Desktop\code\stable-diffusion-webui\models\GFPGAN\detection_Resnet50_Final.pth