Stable Diffusion Webui
安装 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.
执行:
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
改成下面对应的路径,总共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