下载Lora-script 克隆带子模块的仓库,带上子模块,不然在使用的过程中会有错误 git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts 创建环境 也可以使用自己本地python环境 conda create -n lora python=3.10.11 安装依赖 Windows 安装 运行install-cn.ps1 将自动为您创建虚拟环境并安装必要...
com/CompVis/lora-scripts.git 安装依赖:进入lora-scripts目录,安装所需的依赖包。可以使用pip命令进行安装。 cd lora-scripts pip install -r requirements.txt 启动WebUI:运行WebUI服务器,通过浏览器访问相应的地址即可开始使用。 python app.py 三、LoRA训练过程 使用lora-scripts WebUI训练LoRA模型非常简单。以下...
然后检查是否处于lora-scripts文件夹,之后打开终端。 粘贴输入 按回车即可运行 bash run_gui.sh 看到如下界面就是成功启动了 重点来了:由于autodl只允许一个在外界访问一个端口(6006),所以这里我推荐使用ssh端口转发来将云端的界面转发到本地来访问。 下载我制作的端口转发器,然后使用记事本打开这个配置文件(config....
l将autodl-pub系统盘中的”lora-scripts”文件夹整个剪切复制进autodl-tmp数据盘中,否则后期训练上传的大模型和数据集会占满系统盘,影响训练。 l最后如上图所示,“lora-scripts”文件夹就放置在了autodl-tmp数据盘中。 l 双击“lora-scripts”文件夹,如上图所示,进入到“lora-scripts”文件夹内,其中: A. output...
现在进入lora-scripts文件夹,先双击运行“强制更新.bat”文件如果报错提示没有git或者不识别git命令,说明你的电脑没有git,需要下载安装一个,git下载链接:https://git-scm.com/download/win安装完git再重新运行“强制更新.bat”文件更新完毕后,右键:“install-cn.ps1”文件,选择“使用powershell运行”。注意,这里有...
【AI绘画】lora-scripts训练环境安装步骤: 1、安装 python-3.10.8-amd64.exe (必须安装此3.10.8版本); 2、安装 Git-2.43.0-64-bit.exe 用于克隆github.com上的lora-scripts到本地; 3、安装Notepad3_6.23.118.1_x64_Setup.exe (不是必装,主要是方便后面修改代码使用); ...
update sdscripts 2年前 assets update 2年前 huggingface init 2年前 logs fix install-cn xformers 2年前 output init 2年前 sd-models init 2年前 toml update 2年前 .gitattributes crlf 2年前 .gitignore more args 2年前 .gitmodules submodule ...
首先,Lora模型可以通过lora-scripts 脚本进行训练。 仓库地址:https://github.com/Akegarasu/lora-scripts 找个目录拉下来,先安装sd-scripts子项目,然后安装lora-scripts项目。 (敲黑板)重点看下sd-scripts 子项目: https://github.com/kohya-ss/sd-scripts/tree/b5c60d7d62d6bb4a174ac09327dc517fc4446523 ...
地址:https://github.com/Akegarasu/lora-scripts然后用powershell运行install-cn.ps1报错,因为sd-scripts文件夹是空的,要去git下载sd-scripts-main地址:https://github.com/kohya-ss/sd-scripts然后把文件全部拖进去再用powershell运行install-cn.ps1安装完成【完】 【遇到的一个中问题】报错关键词:RuntimeError:...