//그림 인공지능 (Artificial intelligence art)

https://namu.wiki/w/%EA%B7%B8%EB%A6%BC%20%EC%9D%B8%EA%B3%B5%EC%A7%80%EB%8A%A5

 

 

//AUTOMATIC1111/stable-diffusion-webui

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features

 

D/L :  https://github.com/AUTOMATIC1111/stable-diffusion-webui

https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases

 

 

관련 기사 : https://arstechnica.com/information-technology/2023/03/get-ready-to-meet-the-chat-gpt-clones/

 

; -------------------

 

 

Extra networks

 

Extra networks provides a set of cards, each corresponding to a file with a part of model you either train or obtain from somewhere. Clicking the card adds the model to prompt, where it will affect generation.

 

 

Extra network Directory File types How to use in prompt
Textual Inversion embeddings *.pt, images embedding's filename
Lora models/Lora *.pt <lora:filename:multiplier>
Hypernetworks models/hypernetworks *.pt, *.ckpt, *.safetensors <hypernet:filename:multiplie

 

 

Textual Inversion

A method to fine tune weights for a token in CLIP, the language model used by Stable Diffusion, from summer 2021. Author's site. Long explanation: Textual Inversion

Lora

A method to fine tune weights for CLIP and Unet, the language model and the actual image de-noiser used by Stable Diffusion, published in 2021. Paper. A good way to train Lora is to use kohya-ss.

Support for Lora is built-in into the Web UI, but there is an extension with original implementation by kohyaa-ss.

Currently, Lora networks for Stable Diffusion 2.0+ models are not supported by Web UI.

Lora is added to the prompt by putting the following text into any location: <lora:filename:multiplier>, where filename is the name of file with Lora on disk, excluding extension, and multiplier is a number, generally from 0 to 1, that lets you choose how strongly Lora will affect the output. Lora cannot be added to the negative prompt.

The text for adding Lora to the prompt, <lora:filename:multiplier>, is only used to enable Lora, and is erased from prompt afterwards, so you can't do tricks with prompt editing like [<lora:one:1.0>|<lora:two:1.0>]. A batch with multiple different prompts will only use the Lora from the first prompt.

Hypernetworks

A method to fine tune weights for CLIP and Unet, the language model and the actual image de-noiser used by Stable Diffusion, generously donated to the world by our friends at Novel AI in autumn 2022. Works in the same way as Lora except for sharing weights for some layers. Multiplier can be used to choose how strongly the hypernetwork will affect the output.

Same rules for adding hypernetworks to the prompt apply as for Lora: <hypernet:filename:multiplier>.

+ Recent posts