【賽博coser】“超逼真!”用AI生成美少女照片,最詳細(xì)的跟做教程!

遇到報(bào)錯(cuò):
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.