Sign In

LEOSAM's Clothing +/- Adjuster 衣物增/减 LoRA

Jul 14, 2023
Base Model
SD 1.5
default creator card background decoration
LEOSAM's Avatar

🖥️Welcome to try out the open-source GPT4V-Image-Captioner, developed by my friend and me. It offers a one-click installation and comes integrated with multiple features including image pre-compression, image tagging, and tag statistics. Recently, we also launched the webui plugin version of this tool, everyone is welcome to use it!

🌍欢迎加入QQ群"兔狲·AIGC梦工北厂",群号 :780132897 ;"兔狲·AIGC梦工南厂",群号 :835297318(入群答案:兔狲)。Telegram群聊“兔狲的SDXL百老汇”,链接:


This is a functional LoRA for adjusting the amount of clothing on the drawn objects. By adjusting the LoRA weight from -1.0 to 1.0, a gradual reduction of the clothing on the drawn objects can be achieved.


SD 文生图界面下方"脚本"的 "XYZ plot" 里有个“提示词搜索/替换”的选项。可以使用这个功能,以固定间隔从-1 到 1,改变lora模型使用权重。然后SD就可以依次同一提示词下、lora权重渐变的一系列图像。得到这些图像后,可使用ffmpeg工具包或者其他 gif 制作工具,将这些图像制作成 gif 动图。


How to create a gif similar to the cover gif:

In the "XYZ plot" under the "Script" section of the SD interface, there is an option for "Prompt S/R (Prompt search/replacement)". You can use this feature to change the weighting of the Lora model at fixed intervals from -1 to 1. SD can then generate a series of images with the same Prompt and gradually changing Lora weights. After obtaining these images, you can use the FFmpeg toolkit or other GIF creation tools to create animated GIFs from these images.

It is recommended to use the 'OpenPose' feature in ControlNet to fix the character's pose. If you want to further fix the background, you will need to use the 'Inpaint' feature."

如何制作与“Clothing +/- Adjuster”类似的LoRA:





步骤四:将训练得到的过拟合LoRA模型以1.0的比例融合进底模C中(更新:经进一步测试,勾选上same to strength效果会更好),然后用状态B图像训练集基于新底模进行Lora训练。该训练过程不一定要训练至严重过拟合,可以选择LoRA过程文件进行AI绘图测试,只要能通过调节权重,实现状态A至状态B的过渡即可。(更新:经进一步测试,甜蜜点大概在每张图片400在800步范围内)


How to make a LoRA similar to "Clothing +/- Adjuster":

This model is inspired by the first method "Copy Learning" introduced by Qinglong in this video. I made some improvements to implement batch training in the case of multiple images. The specific steps are as follows:

Step 1: Select N groups of comparison images of different characters in State A and State B. Put them into the State A image training set and the State B image training set, respectively. Please ensure that the file names of the two images of State A and State B for the same character are the same.

Step 2: Add txt labels to the State A training set, with each image receiving only one unique word label that distinguishes different characters. For example, if there are 10 characters, assign each character a label from jinitaimei1 to jinitaimei10. Then copy and paste all labels from the State A training set into the State B image training set.

Step 3: Choose a base model C with a similar style to the training set. Use the State A image training set for Lora training until the model overfits.

Step 4: Merge the overfitted LoRA model obtained from training into the base model C at a ratio of 1.0 (Update: After further testing, it will be better to choose same to strength). Then, use the State B image training set for Lora training based on the new base model. This training process does not necessarily need to be trained until severe overfitting occurs; you can choose the LoRA process file for AI drawing tests, as long as the transition from State A to State B can be achieved by adjusting the weight. (Update: 400~800 steps for single pic)

Step 5: If the LoRA training involves complex scenes, overfitting may occur at high weights. There are two suggested improvements: one is to perform layer-by-layer adjustment of LoRA, reducing the weights of layers unrelated to the A/B state switch; the other is to compress the dimensions of LoRA, such as from 64 to 4.


  • FilmGirl/胶片风 Lora模型:如果你想增加你所绘制人物的真实感,这个Lora就是目前最佳的选择。

  • MoonFilm CheckPoint模型:可能是整个civitai上皮肤真实感Top5的写实模型。

  • Pallas's cat/兔狲 LoRA模型:兔狲是这个世界最有趣的猫科动物,请将你的GPU算力献给可爱的猫猫。

  • 拍立得/Polaroid Lora模型:一个实现拍立得照片质感的LoRA,目前还在进一步改进中。

  • EVA『新世纪エヴァンゲリオン』LoRA模型:可以生成类EVA风格泛用人型决战兵器的LoRA,适配EVA 00、EVA 01、EVA 02、EVA 08四款机型。

In addition to this LoRA, my works also include:

  • FilmGirl Film Style Lora Model: If you want to increase the realism of the characters you draw, this Lora is currently the best choice.

  • MoonFilm CheckPoint Model: Possibly one of the top 5 most realistic skin models on Civitai.

  • Pallas's Cat LoRA Model: Pallas's cat is the most interesting feline in the world. Please dedicate your GPU power to these adorable cats.

  • Polaroid Lora Model: A LoRA that achieves the texture of Polaroid photos, currently undergoing further improvements.

  • EVA "Neon Genesis Evangelion" LoRA Model: A LoRA that generates EVA-style general-purpose humanoid combat weapons, compatible with EVA 00, EVA 01, EVA 02, and EVA 08 models.