Details
Related
v2.01
v1.0
v2.0
Resize Loras Batch Script

Resize Loras Batch Script

0
0
0
#tool
#lora

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.

View Translation

Rating & Review

-- /5
0 Ratings

Not enough ratings or reviews received yet

E
Notice
2024-07-25
Publish Model
2023-11-10
Update Model Info
Model Details
Type
Other
Publish Time
2023-11-10
Base Model
Other
Version Introduction

now in working!

License Scope
Model Source: civitai

1. The rights to reposted models belong to original creators.

2. Original creators should contact SeaArt.AI staff through official channels to claim their models. We are committed to protecting every creator's rights. Click to Claim

Creative License Scope
Online Image Generation
Merge
Allow Downloads
Commercial License Scope
Sale or Commercial Use of Generated Images
Resale of Models or Their Sale After Merging
QR Code
Download SeaArt App
Continue your AI creation journey on mobile devices