美文网首页
Stable Diffusion Webui

Stable Diffusion Webui

作者: iVikings | 来源:发表于2023-10-31 11:57 被阅读0次

    安装 Stable Diffusion Webuisd-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

    相关文章

      网友评论

          本文标题:Stable Diffusion Webui

          本文链接:https://www.haomeiwen.com/subject/meiiidtx.html