使用Stable Diffusion的朋友开始的时候会下载很多模型,然后慢慢根据自己的需要来选择使用。但是新手往往会被搞晕:那么多模型应该放在哪个目录下才能生效?我们根据资料大概整理了一下,供大家参考。
Fine-tuned Model Checkpoints (Dreambooth Models)
- Download the custom model
 - Place the model inside the models/Stable-diffusion directory of your AUTOMATIC1111 Web UI instance
 - Refresh your model list or restart the Stable Diffusion Web UI
 - Select the custom model from the Stable Diffusion checkpoint input field
 - Use the trained keyword in a prompt (listed on the custom model’s page)
 - Make awesome images!
 
Checkpoints 模型:放在models/Stable-diffusion 目录下
Textual Inversions
- Download the textual inversion
 - Place the textual inversion inside the embeddings directory of your AUTOMATIC1111 Web UI instance
 - Use the trained keyword in a prompt (listed on the textual inversion’s page)
 - Make awesome images!
 
Textual Inversions(文本):放在embeddings 目录下
Aesthetic Gradients
- Install the Aesthetic Gradients extension
 - Download the aesthetic gradient
 - Place the aesthetic graident inside the aesthetic_embeddings directory of your AUTOMATIC1111 Web UI instance
 - Restart the Stable Diffusion Web UI
 - Adjust the aesthetic gradient setting
 - Make awesome images!
 
Aesthetic Gradients(梯度):放在 aesthetic_embeddings目录下
Hypernetwork
- Download the hypernetwork
 - Place the hypernetwork inside the models/hypernetworks directory of your AUTOMATIC1111 Web UI instance
 - Restart the Stable Diffusion Web UI
 - Select the hypernetwork from the Hypernetwork input field in settings
 - Adjust the hypernetwork strength using the Hypernetwork strength range slider in settings
 - Make awesome images!
 
Hypernetwork(超级网络):放在 models/hypernetworks目录下
- Download the LoRA
 - Place the file inside the models/lora folder
 - Click on the show extra networks button under the Generate button (purple icon)
 - Go to the Lora tab and refresh if needed
 - Click on the one you want to apply, it will be added in the prompt
 - Make sure to adjust the weight, by default it’s :1 which is usually to high
 
LORA:放在 models/lora目录下
(Low-Rank Adaptation of Large Language Models 基于大型语言模型的低阶自适应,是经过特殊训练后的一个微调补充)
LoRA
Old UI (Versions Prior to Jan 20th) 旧版
- Ensure that you’ve installed the Additional Networks extension, you can do this from the extensions tab. After installing you will need to restart AUTOMATIC1111.
 - Download the LoRA
 - Place the file inside the extensions/sd-webui-additional-networks/models/lora folder
 - On the txt2img or img2img tab, dropdown the Additional Networks area at the bottom of the page
 - Check enable
 - Set Model 1 to the LoRA model you downloaded
 - Set Weight 1 to a 0.85 a good starting value and adjust as needed
 - Make awesome images!
 
确保安装了Additional Networks,然后放在extensions/sd-webui-additional-networks/models/lora目录下。
Note: You can use a LoRA with any model, but usually they are trained on a specific model and will perform best on that model or a derivative of that model.LoRA可以用于任何模型下,但是实际上最好是放在训练时的大模型下能达到最佳效果。
LoCon
- Ensure that you’re utilizing the latest version of Automatic1111 or that you’ve installed the LoCon Extension
 - Download the LoCon
 - Place the file inside the models/LyCORIS folder
 - Click on the show extra networks button under the Generate button (purple icon)
 - Go to the LyCORIS tab and refresh if needed
 - Click on the one you want to apply, it will be added in the prompt
 - Make sure to adjust the weight, by default it’s :1 which is usually too high
 
LoCon:放在 models/LyCORIS目录下
Wildcards
- Ensure that you’ve installed the Wildcard Extension
 - Download the Wildcards archive
 - Extract the archive into extensions/stable-diffusion-webui-wildcards/wildcards
 - Use one or many of the wildcard words in your prompt to trigger the word replacement on generation (ex. __hair-style__)
 
Wildcards:确保安装了 Wildcard 扩展,然后放在extensions/stable-diffusion-webui-wildcards/wildcards目录下
Motion Module
- Ensure that you’ve installed the AnimateDiff Extension
 - Download the Motion Module
 - Place the file inside the extensions/sd-webui-animatediff/model/ folder
 
Motion Module:确保安装了AnimateDiff 扩展,然后放在extensions/sd-webui-animatediff/model/ 目录下

                        
Comments are closed