详情
推薦
v2.01
v1.0
v2.0
Resize Loras Batch Script

Resize Loras Batch Script

0
0
0
#工具
#洛拉

Just a small batch file to resize .safetensors loras in bulk.

The resize logic and its dependencies are taken from https://github.com/bmaltais/kohya_ss, i only added the batch file calling the python script.

Usage:

2.01: i dun goofed. ok, here is v2.0 in bug-free working condition.

2.0: Extract the archive to a location of your choice and place all files you want to get resized in either the big, med or small subfolder. Execute res-lora.bat. The conversion uses the suggested settings of firemanbrakeneck: big = sv 0.94 / rank 32, med = 0.92 / 24, small = 0.9 / 16.

1.0: Extract the archive to a location of your choice and place all files you want to get resized in the res-lora folder. Execute res-lora.bat. The conversion uses the default settings of kohya_ss' lora resizer: fp16 precision, cuda, method sv_fro with a value of 0.9, except for the rank, where i use 64, and places the resized files in the resized subfolder. all these settings can be changed in the batch call, together with the targeted file extension (in case you got loras in another format).

Known Issues:

Not all loras can be converted, my best guess is that newer types are not supported, yet.

if it cannot find your python.exe make sure its path was added to the PATH system variable of windows correctly.

查看译文

評分與評論

-- /5
0 個評分

尚未收到足夠的評分或評論

no-data
暫無數據
E
公告
2024-07-25
发布模型
2023-11-10
更新模型資訊
模型详情
類型
Other
发布時間
2023-11-10
基础模型
Other
版本介绍

now in working!

许可范围
來源: civitai

1. 轉载模型僅供學習與交流分享,其版權及最終解释權归原作者。

2. 模型原作者如需認領模型,請通過官方渠道联系海藝AI工作人員進行認證。我們致力於保護每一位創作者的權益。 點擊去認領

創作许可范围
在線生圖
進行融合
允许下载
商業许可范围
生成圖片可出售或用於商業目的
允许模型轉售或融合后出售
QR Code
下載SeaArt App
在移動端继續你的AI創作之旅