欢迎光临散文网 会员登陆 & 注册

【赛博coser】“超逼真!”用AI生成美少女照片,最详细的跟做教程!

2023-02-21 03:32 作者:互相理解理解  | 我要投稿

遇到报错:

Wheel 'torch' located at C:\Users\XXXXXXX is invalid

解决方法

So I manually downloaded the pytorch from this link: https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl

Copy the downloaded file into c:....\stablediffusion\venv\Scripts\ folder.

Open cmd in c:....\stablediffusion\venv\Scripts\ and then type "activate" (without commas)

You'll see the prompt change to (this means it's working)

(venv) c:....\stablediffusion\venv\Scripts\

Then give the following command and wait for a few seconds:

python.exe -m pip install --upgrade pip

Then give the following command:

pip install torch-1.12.1+cu113-cp310-cp310-win_amd64.whl

after this is finished, close this cmd window and go back to webui-user.bat file in the main directory.

Edit that and add --xformers after the following line:

It'll be like this

set COMMANDLINE_ARGS= --xformers

Now save that and run.

Downloading the pytorch part is where most of the errors come and now that is already done.

【赛博coser】“超逼真!”用AI生成美少女照片,最详细的跟做教程!的评论 (共 条)

分享到微博请遵守国家法律