【AI绘画】最佳人物模型训练!保姆式LoRA模型训练教程 一键包发布

运行install.ps1出现下面错误
Creating venv for python...
Installing deps...
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu116 (from versions: none)
ERROR: No matching distribution found for torch==1.12.1+cu116
[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Processing c:\app\lora-scripts\sd-scripts
Preparing metadata (setup.py) ... done
Collecting accelerate==0.15.0
Using cached accelerate-0.15.0-py3-none-any.whl (191 kB)
Collecting transformers==4.26.0
Using cached transformers-4.26.0-py3-none-any.whl (6.3 MB)
Collecting ftfy==6.1.1
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting albumentations==1.3.0
Using cached albumentations-1.3.0-py3-none-any.whl (123 kB)
Collecting opencv-python==4.7.0.68
Using cached opencv_python-4.7.0.68-cp37-abi3-win_amd64.whl (38.2 MB)
Collecting einops==0.6.0
Using cached einops-0.6.0-py3-none-any.whl (41 kB)
Collecting diffusers[torch]==0.10.2
Using cached diffusers-0.10.2-py3-none-any.whl (503 kB)
Collecting pytorch-lightning==1.9.0
Using cached pytorch_lightning-1.9.0-py3-none-any.whl (825 kB)
Collecting bitsandbytes==0.35.0
Using cached bitsandbytes-0.35.0-py3-none-any.whl (62.5 MB)
Collecting tensorboard==2.10.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting safetensors==0.2.6
Using cached safetensors-0.2.6-cp311-cp311-win_amd64.whl (268 kB)
Collecting gradio==3.16.2
Using cached gradio-3.16.2-py3-none-any.whl (14.2 MB)
Collecting altair==4.2.2
Using cached altair-4.2.2-py3-none-any.whl (813 kB)
Collecting easygui==0.98.3
Using cached easygui-0.98.3-py2.py3-none-any.whl (92 kB)
Collecting requests==2.28.2
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting timm==0.6.12
Using cached timm-0.6.12-py3-none-any.whl (549 kB)
Collecting fairscale==0.4.13
Using cached fairscale-0.4.13.tar.gz (266 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
ERROR: Could not find a version that satisfies the requirement tensorflow==2.10.1 (from versions: 2.12.0rc0)
ERROR: No matching distribution found for tensorflow==2.10.1
[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing bitsandbytes for windows...
cp : 文件名、目录名或卷标语法不正确。
所在位置 C:\app\lora-scripts\install.ps1:16 字符: 1
+ cp .\bitsandbytes_windows\*.dll ..\venv\Lib\site-packages\bitsandbyte ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Copy-Item], IOException
+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.CopyItemCommand
cp : 未能找到路径“C:\app\lora-scripts\venv\Lib\site-packages\bitsandbytes\cextension.py”的一部分。
所在位置 C:\app\lora-scripts\install.ps1:17 字符: 1
+ cp .\bitsandbytes_windows\cextension.py ..\venv\Lib\site-packages\bit ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Copy-Item], DirectoryNotFoundException
+ FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.CopyItemCommand
cp : 未能找到路径“C:\app\lora-scripts\venv\Lib\site-packages\bitsandbytes\cuda_setup\main.py”的一部分。
所在位置 C:\app\lora-scripts\install.ps1:18 字符: 1
+ cp .\bitsandbytes_windows\main.py ..\venv\Lib\site-packages\bitsandby ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Copy-Item], DirectoryNotFoundException
+ FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.CopyItemCommand
Install completed