在ComfyUI中进行lora微调的节点,依赖于kohya-ss/sd-scripts等训练工具(Nodes for fine-tuning lora in ComfyUI, dependent on training tools such as kohya-ss/sd-scripts)
[20240706] 支持混元lora训练,脚本来自https://github.com/KohakuBlueleaf/sd-scripts/tree/HunYuanDiT 分支
custom_nodes
folder.初始化训练文件夹,文件夹位于output目录(Initialize the training folder, the folder in the output directory)
source(源): sd-scripts的源,默认为github,下载有问题的话可以切换加速源(sd-scripts source, default is github, if there is a problem with the download, you can switch to the accelerated source)
复制图片到训练文件夹中和一些数据集配置(Copy images to the training folder and some dataset configurations)
一些基础的训练配置(Some basic training configurations)
更多的训练配置(More training configurations)
训练主线程(Training main thread)
network_weights
参数一致,启用时忽略dim/alpha/dropout(Train after loading a lora model, consistent with the network_weights
parameter in sd-scripts, ignore dim/alpha/dropout when enabled)