The Yuru-Flat Lora is distributed under the Fair AI Public License 1.0-SD. In compliance with the license requirements, the following documentation details the steps involved in the creation of this Lora.
-
Initial Image: Start with the
Original.png
file available in this repository. -
Image Transformation:
- Use the
img2img
to convertOriginal.png
toTemp.png
. - Perform another
img2img
to transformTemp.png
intoTarget.png
. - The parameters used in the
img2img
processes are included in the metadata of the respective PNG files in this repository.
- Use the
-
Model Training:
- Utilize the sd-webui-traintain plugin.
- Set the plugin to
Difference
mode using theDifference_Use2ndPass
preset. - Specify
Original.png
as theOriginal
andTarget.png
as theTarget
. - The output from this step will be
test_yurucamp.safetensors
.
-
Lora Pruning:
- Run the
loraedit.py
script to prune the Lora. - The final output,
yuru_flat.safetensors
, is the pruned Lora ready for use.
- Run the