|
# LoRA Block Weight |
|
- custom script for [AUTOMATIC1111's stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) |
|
- When applying Lora, strength can be set block by block. |
|
|
|
- [AUTOMATIC1111's stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) çšã®ã¹ã¯ãªããã§ã |
|
- Loraãé©çšããéã匷ããéå±€ããšã«èšå®ã§ããŸã |
|
|
|
### Updates/æŽæ°æ
å ± |
|
2023.5.24.2000(JST) |
|
- changed directory for presets(extentions/sd-webui-lora-block-weight/scripts/) |
|
- ããªã»ããã®ä¿åãã©ã«ããextentions/sd-webui-lora-block-weight/scripts/ã«å€æŽã«ãªããŸããã |
|
|
|
2023.5.12.2100(JST) |
|
- changed syntax of lycoris |
|
- lycorisã®æžåŒãå€æŽããŸãã |
|
|
|
2023.04.14.2000(JST) |
|
- support LyCORIS(a1111-sd-webui-lycoris) |
|
- LyCORIS(a1111-sd-webui-lycoris)ã«å¯Ÿå¿ |
|
|
|
2023.03.20.2030(JST) |
|
- Comment lines can now be added to presets |
|
- ããªã»ããã«ã³ã¡ã³ãè¡ãè¿œå ã§ããããã«ãªããŸãã |
|
- support XYZ plot hires.fix |
|
- XYZãããããhires.fixã«å¯Ÿå¿ããŸãã |
|
|
|
2023.03.16.2030(JST) |
|
- [LyCORIS](https://github.com/KohakuBlueleaf/LyCORIS)ã«å¯Ÿå¿ããŸãã |
|
- Support [LyCORIS](https://github.com/KohakuBlueleaf/LyCORIS) |
|
|
|
å¥é[LyCORIS Extention](https://github.com/KohakuBlueleaf/a1111-sd-webui-locon)ãå¿
èŠã§ãã |
|
For use LyCORIS, [Extension](https://github.com/KohakuBlueleaf/a1111-sd-webui-locon) for LyCORIS needed. |
|
|
|
æ¥æ¬èªèª¬æã¯[åŸå](#æŠèŠ)åŸåã«ãããŸãã |
|
|
|
# Overview |
|
Lora is a powerful tool, but it is sometimes difficult to use and can affect areas that you do not want it to affect. This script allows you to set the weights block-by-block. Using this script, you may be able to get the image you want. |
|
|
|
## Usage |
|
Place lora_block_weight.py in the script folder. |
|
Or you can install from Extentions tab in web-ui. When installing, please restart web-ui.bat. |
|
|
|
### Active |
|
Check this box to activate it. |
|
|
|
### Prompt |
|
In the prompt box, enter the Lora you wish to use as usual. Enter the weight or identifier by typing ":" after the strength value. The identifier can be edited in the Weights setting. |
|
``` |
|
<lora:"lora name":1:0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0>. |
|
<lora:"lora name":1:0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0>. (a1111-sd-webui-locon, etc.) |
|
<lora:"lora name":1:IN02> |
|
<lyco:"lora name":1:1:lbw=IN02> (a1111-sd-webui-lycoris) |
|
<lyco:"lora name":1:1:lbw=1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0> (a1111-sd-webui-lycoris) |
|
``` |
|
For LyCORIS using a1111-sd-webui-lycoris, syntax is different. |
|
`lbw=IN02` is used and follow lycoirs syntax for others such as unet or else. |
|
a1111-sd-webui-lycoris is under under development, so this syntax might be changed. |
|
|
|
Lora strength is in effect and applies to the entire Blocks. |
|
It is case-sensitive. |
|
For LyCORIS, full-model blobks used,so you need to input 26 weights. |
|
You can use weight for LoRA, in this case, the weight of blocks not in LoRA is set to 1.ãã |
|
If the above format is not used, the preset will treat it as a comment line. |
|
|
|
### Weights Setting |
|
Enter the identifier and weights. |
|
Unlike the full model, Lora is divided into 17 blocks, including the encoder. Therefore, enter 17 values. |
|
BASE, IN, OUT, etc. are the blocks equivalent to the full model. |
|
|
|
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17| |
|
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| |
|
|BASE|IN01|IN02|IN04|IN05|IN07|IN08|MID|OUT03|OUT04|OUT05|OUT06|OUT07|OUT08|OUT09|OUT10|OUT11| |
|
|
|
LyCORIS, etc. |
|
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26| |
|
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| |
|
|BASE|IN00|IN01|IN02|IN03|IN04|IN05|IN06|IN07|IN08|IN09|IN10|IN11|MID|OUT00|OUT01|OUT02|OUT03|OUT04|OUT05|OUT06|OUT07|OUT08|OUT09|OUT10|OUT11| |
|
|
|
### Special Values (Random) |
|
Basically, a numerical value must be entered to work correctly, but by entering `R` and `U`, a random value will be entered. |
|
R : Numerical value with 3 decimal places from 0~1 |
|
U : 3 decimal places from -1.5 to 1.5 |
|
|
|
For example, if ROUT:1,1,1,1,1,1,1,1,R,R,R,R,R,R,R,R,R |
|
Only the OUT blocks is randomized. |
|
The randomized values will be displayed on the command prompt screen when the image is generated. |
|
|
|
### Special Values (Dynamic) |
|
The special value `X` may also be included to use a dynamic weight specified in the LoRA syntax. This is activated by including an additional weight value after the specified `Original Weight`. |
|
|
|
For example, if ROUT:X,1,1,1,1,1,1,1,1,1,1,1,X,X,X,X,X and you had a prompt containing \<lora:my_lore:0.5:ROUT:0.7\>. The `X` weights in ROUT would be replaced with `0.7` at runtime. |
|
|
|
> NOTE: If you select an `Original Weight` tag that has a dynamic weight (`X`) and you do not specify a value in the LoRA syntax, it will default to `1`. |
|
|
|
### Save Presets |
|
|
|
The "Save Presets" button saves the text in the current text box. It is better to use a text editor, so use the "Open TextEditor" button to open a text editor, edit the text, and reload it. |
|
The text box above the Weights setting is a list of currently available identifiers, useful for copying and pasting into an XY plot. 17 identifiers are required to appear in the list. |
|
|
|
### Fun Usage |
|
Used in conjunction with the XY plot, it is possible to examine the impact of each level of the hierarchy. |
|
![xy_grid-0017-4285963917](https://user-images.githubusercontent.com/122196982/215341315-493ce5f9-1d6e-4990-a38c-6937e78c6b46.jpg) |
|
|
|
The setting values are as follows. |
|
NOT:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
|
ALL:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 |
|
INS:1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
|
IND:1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0 |
|
INALL:1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0 |
|
MIDD:1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0 |
|
OUTD:1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0 |
|
OUTS:1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1 |
|
OUTALL:1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1 |
|
|
|
## XYZ Plotting Function |
|
The optimal value can be searched by changing the value of each layer individually. |
|
### Usage |
|
Check "Active" to activate the function. If Script (such as XYZ plot in Automatic1111) is enabled, it will take precedence. |
|
Hires. fix is not supported. batch size is fixed to 1. batch count should be set to 1. |
|
Enter XYZ as the identifier of the LoRA that you want to change. It will work even if you do not enter a value corresponding to XYZ in the preset. If a value corresponding to XYZ is entered, that value will be used as the initial value. |
|
Inputting ZYX, inverted value will be automatically inputted. |
|
This feature enables to match weights of two LoRAs. |
|
Inputing XYZ for LoRA1 and ZYX for LoRA2, you get, |
|
LoRA1 1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0 |
|
LoRA2 0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1 |
|
### Axis type |
|
#### values |
|
Sets the weight of the hierarchy to be changed. Enter the values separated by commas. 0,0.25,0.5,0.75,1", etc. |
|
|
|
#### Block ID |
|
If a block ID is entered, only that block will change to the value specified by value. As with the other types, use commas to separate them. Multiple blocks can be changed at the same time by separating them with a space or hyphen. The initial NOT will invert the change, so NOT IN09-OUT02 will change all blocks except IN09-OUT02. |
|
|
|
#### seed |
|
Seed changes, and is intended to be specified on the Z-axis. |
|
|
|
#### Original Weights |
|
Specify the initial value to change the weight of each block. If Original Weight is enabled, the value entered for XYZ is ignored. |
|
|
|
### Input example |
|
X : value, value : 1,0.25,0.5,0.75,1 |
|
Y : Block ID, value : BASE,IN01-IN08,IN05-OUT05,OUT03-OUT11,NOT OUT03-OUT11 |
|
Z : Original Weights, Value : NONE,ALL0.5,ALL |
|
|
|
In this case, an XY plot is created corresponding to the initial values NONE,ALL0.5,ALL. |
|
If you select Seed for Z and enter -1,-1,-1, the XY plot will be created 3 times with different seeds. |
|
|
|
### Effective Block Analyzer |
|
This function check which layers are working well. The effect of the block is visualized and quantified by setting the intensity of the other bocks to 1, decreasing the intensity of the block you want to examine, and taking the difference. |
|
#### Range |
|
If you enter 0.5, 1, all initial values are set to 1, and only the target block is calculated as 0.5. Normally, 0.5 will make a difference, but some LoRAs may have difficulty making a difference, in which case, set 0.5 to 0 or a negative value. |
|
|
|
#### settings |
|
##### diff color |
|
Specify the background color of the diff file. |
|
|
|
##### chnage X-Y |
|
Swaps the X and Y axes. By default, Block is assigned to the Y axis. |
|
|
|
##### Threshold |
|
Sets the threshold at which a change is recognized when calculating the difference. Basically, the default value is fine, but if you want to detect subtle differences in color, etc., lower the value. |
|
|
|
#### Blocks |
|
Enter the blocks to be examined, using the same format as for XYZ plots. |
|
|
|
For more information on block-by-block merging, see |
|
|
|
https://github.com/bbc-mc/sdweb-merge-block-weighted-gui |
|
|
|
# æŠèŠ |
|
Loraã¯åŒ·åãªããŒã«ã§ãããæã«æ±ããé£ããã圱é¿ããŠã»ãããªããšããã«ãŸã§åœ±é¿ãã§ããããŸãããã®ã¹ã¯ãªããã§ã¯Loraãé©çšããéãé©çšåºŠåããU-Netã®éå±€ããšã«èšå®ããããšãã§ããŸããããã䜿çšããããšã§æ±ããç»åã«è¿ã¥ããããšãã§ãããããããŸããã |
|
|
|
## 䜿ãæ¹ |
|
scriptãã©ã«ãã«lora_block_weightã眮ããŠãã ããã ã€ã³ã¹ããŒã«æã¯Web-ui.batãåèµ·åãããŠãã ããã |
|
|
|
### Active |
|
ããã«ãã§ãã¯ãå
¥ããããšã§åäœããŸãã |
|
|
|
### ããã³ãã |
|
ããã³ããç»é¢ã§ã¯éåžžéã䜿çšãããLoraãèšå
¥ããŠãã ããããã®éã匷ãã®å€ã®æ¬¡ã«ã:ããå
¥åããŠã§ã€ããèå¥åãå
¥åããŸããèå¥åã¯Weights setting ã§ç·šéããŸãã |
|
``` |
|
<lora:"lora name":1:0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0>. |
|
<lora:"lora name":1:0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0>. (a1111-sd-webui-locon, etc.) |
|
<lyco:"lora name":1:1:lbw=IN02> (a1111-sd-webui-lycoris) |
|
<lyco:"lora name":1:1:lbw=1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0> (a1111-sd-webui-lycoris) |
|
``` |
|
Loraã®åŒ·ãã¯æå¹ã§ãéå±€å
šäœã«ããããŸãã倧æåãšå°æåã¯åºå¥ãããŸãã |
|
LyCORISã«å¯ŸããŠLoRAã®ããªã»ããã䜿çšã§ããŸããããã®å ŽåLoRAã§äœ¿ãããŠããªãéå±€ã®ãŠã§ã€ãã¯1ã«èšå®ãããŸãã |
|
äžèšã®åœ¢åŒã«ãªã£ãŠããªãå Žåããªã»ããã§ã¯ã³ã¡ã³ãè¡ãšããŠæ±ãããŸãã |
|
a1111-sd-webui-lycorisçã®LyCORISã䜿çšããå Žåæ§æãç°ãªããŸãã`lbw=IN02`ã䜿ã£ãŠäžãããé çªã¯åããŸããããã®ä»ã®æžåŒã¯lycorisã®æžåŒã«ãããã£ãŠäžããã詳ããã¯LyCORISã®ããã¥ã¡ã³ããåç
§ããŠäžãããèå¥åãå
¥åããŠäžãããa1111-sd-webui-lycorisçã¯éçºéäžã®ãããã®æ§æã¯å€æŽãããå¯èœæ§ããããŸãã |
|
|
|
### Weights setting |
|
èå¥åãšãŠã§ã€ããå
¥åããŸãã |
|
ãã«ã¢ãã«ãšç°ãªããLoraã§ã¯ãšã³ã³ãŒããŒãå«ã17ã®ãããã¯ã«åãããŠããŸãããã£ãŠã17åã®æ°å€ãå
¥åããŠãã ããã |
|
BASE,IN,OUTãªã©ã¯ãã«ã¢ãã«çžåœã®éå±€ã§ãã |
|
|
|
|
|
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17| |
|
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| |
|
|BASE|IN01|IN02|IN04|IN05|IN07|IN08|MID|OUT03|OUT04|OUT05|OUT06|OUT07|OUT08|OUT09|OUT10|OUT11| |
|
|
|
LyCORISãªã©ã®å Žå |
|
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26| |
|
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| |
|
|BASE|IN00|IN01|IN02|IN03|IN04|IN05|IN06|IN07|IN08|IN09|IN10|IN11|MID|OUT00|OUT01|OUT02|OUT03|OUT04|OUT05|OUT06|OUT07|OUT08|OUT09|OUT10|OUT11| |
|
|
|
### ç¹å¥ãªå€ |
|
åºæ¬çã«ã¯æ°å€ãå
¥ããªããšæ£ããåããŸããã R ããã³ U ãå
¥åããããšã§ã©ã³ãã ãªæ°å€ãå
¥åãããŸãã |
|
R : 0~1ãŸã§ã®å°æ°ç¹3æ¡ã®æ°å€ |
|
U : -1.5ïœ1.5ãŸã§ã®å°æ°ç¹3æ¡ã®æ°å€ |
|
|
|
äŸãã°ãROUT:1,1,1,1,1,1,1,1,R,R,R,R,R,R,R,R,R ãšãããš |
|
OUTå±€ã®ã¿ãã³ãã åãããŸã |
|
ã©ã³ãã åãããæ°å€ã¯ç»åçææã«ã³ãã³ãããã³ããç»é¢ã«è¡šç€ºãããŸã |
|
|
|
saveãã¿ã³ã§çŸåšã®ããã¹ãããã¯ã¹ã®ããã¹ããä¿åã§ããŸããããã¹ããšãã£ã¿ã䜿ã£ãæ¹ãããã®ã§ãopen Texteditorãã¿ã³ã§ããã¹ããšãã£ã¿éããç·šéåŸreloadããŠãã ããã |
|
Weights settingã®äžã«ããããã¹ãããã¯ã¹ã¯çŸåšäœ¿çšã§ããèå¥åã®äžèŠ§ã§ããXYããããã«ã³ããããã®ã«äŸ¿å©ã§ãã17åãªããšäžèŠ§ã«è¡šç€ºãããŸããã |
|
|
|
### 楜ãã䜿ãæ¹ |
|
XY plotãšäœµçšããããšã§åéå±€ã®åœ±é¿ã調ã¹ãããšãå¯èœã«ãªããŸãã |
|
![xy_grid-0017-4285963917](https://user-images.githubusercontent.com/122196982/215341315-493ce5f9-1d6e-4990-a38c-6937e78c6b46.jpg) |
|
|
|
èšå®å€ã¯ä»¥äžã®éãã§ãã |
|
NOT:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
|
ALL:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 |
|
INS:1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 |
|
IND:1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0 |
|
INALL:1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0 |
|
MIDD:1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0 |
|
OUTD:1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0 |
|
OUTS:1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1 |
|
OUTALL:1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1 |
|
|
|
## XYZ ããããæ©èœ |
|
åå±€ã®å€ãåå¥ã«å€åãããããšã§æé©å€ãç·åœããã«æ¢ããŸãã |
|
### 䜿ãæ¹ |
|
Activeããã§ãã¯ããããšã§åäœããŸãã Script(Automatic1111æ¬äœã®XYZãããããªã©)ãæå¹ã«ãªã£ãŠããå Žåãã¡ããåªå
ãããŸããnoneãéžæããŠãã ããã |
|
Hires. fixã«ã¯å¯Ÿå¿ããŠããŸãããBatch sizeã¯1ã«åºå®ãããŸããBatch countã¯1ã«èšå®ããŠãã ããã |
|
å€åããããLoRAã®èå¥åã«XYZãšå
¥åããŸã\<lora:"loraå":1:XYZ>ã ããªã»ããã«XYZã«å¯Ÿå¿ããå€ãå
¥åããŠããªããŠãåäœããŸãããã®å Žåãã¹ãŠã®ãŠã§ã€ãã0ã®ç¶æ
ããã¹ã¿ãŒãããŸããXYZã«å¯Ÿå¿ããå€ãå
¥åãããŠããå Žåã¯ãã®å€ãåæå€ã«ãªããŸãã |
|
ZYXãšå
¥åãããšXYZãšã¯å察ã®å€ãå
¥åãããŸããããã¯ãµãã€ã®LoRAã®ãŠã§ã€ããåãããéã«æå¹ã§ãã |
|
äŸãã°LoRA1ã«XYZ,LoRA2ã«ZYXãšå
¥åãããšã |
|
LoRA1 1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0 |
|
LoRA2 0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1 |
|
ãšãªããŸãã |
|
### 軞ã¿ã€ã |
|
#### values |
|
å€åãããéå±€ã®ãŠã§ã€ããèšå®ããŸããã«ã³ãåºåãã§å
¥åããŠãã ãããã0,0.25,0.5,0.75,1ããªã©ã |
|
|
|
#### Block ID |
|
ãããã¯IDãå
¥åãããšããã®ãããã¯ã®ã¿valueã§æå®ããå€ã«å€ãããŸããä»ã®ã¿ã€ããšåæ§ã«ã«ã³ãã§åºåããŸããã¹ããŒã¹ãŸãã¯ãã€ãã³ã§åºåãããšã§è€æ°ã®ãããã¯ãåæã«å€åãããããšãã§ããŸããæåã«NOTãã€ããããšã§å€å察象ãå転ããŸããNOT IN09-OUT02ãšãããšãIN09-OUT02以å€ãå€åããŸããNOTã¯æåã«å
¥åããªããšå¹æããããŸãããIN08-M00-OUT03ã¯ç¹ãã£ãŠããŸãã |
|
|
|
#### Seed |
|
ã·ãŒããå€ãããŸããZ軞ã«æå®ããããšãæ³å®ããŠããŸãã |
|
|
|
#### Original Weights |
|
åãããã¯ã®ãŠã§ã€ããå€åãããåæå€ãæå®ããŸããããªã»ããã«ç»é²ãããŠããèå¥åãå
¥åããŠãã ãããOriginal Weightãæå¹ã«ãªã£ãŠããå ŽåXYZã«å
¥åãããå€ã¯ç¡èŠãããŸãã |
|
|
|
### å
¥åäŸ |
|
X : value, å€ : 1,0.25,0.5,0.75,1 |
|
Y : Block ID, å€ : BASE,IN01-IN08,IN05-OUT05,OUT03-OUT11,NOT OUT03-OUT11 |
|
Z : Original Weights, å€ : NONE,ALL0.5,ALL |
|
|
|
ãã®å Žåãåæå€NONE,ALL0.5,ALLã«å¯Ÿå¿ããXY plotãäœè£œãããŸãã |
|
Zã«Seedãéžã³ã-1,-1,-1ãå
¥åãããšãç°ãªãseedã§XY plotã3åäœè£œããŸãã |
|
|
|
### Effective Block Analyzer |
|
ã©ã®éå±€ãè¯ãå¹ããŠããããå€å¥ããæ©èœã§ãã察象ã®é局以å€ã®åŒ·åºŠã1ã«ããŠã調ã¹ããéå±€ã®åŒ·åºŠãäžããå·®åãåãããšã§éå±€ã®å¹æãå¯èŠåã»æ°å€åããŸãã |
|
#### Range |
|
0.5, 1ããšå
¥åããå Žåãåæå€ããã¹ãŠ1ã«ãªãã察象ã®ãããã¯ã®ã¿0.5ãšããŠèšç®ãè¡ãããŸããæ®éã¯0.5ã§å·®ãã§ãŸãããLoRAã«ãã£ãŠã¯å·®ãåºã«ããå Žåãããã®ã§ããã®å Žåã¯0.5ã0ãããã¯ãã€ãã¹ã®å€ã«èšå®ããŠãã ããã |
|
|
|
#### èšå® |
|
##### diff color |
|
å·®åãã¡ã€ã«ã®èæ¯ã«ã©ãŒãæå®ããŸãã |
|
|
|
##### chnage X-Y |
|
X軞ãšY軞ãå
¥ãæ¿ããŸããããã©ã«ãã§ã¯Y軞ã«Blockãå²ãåœãŠãããŠããŸãã |
|
|
|
##### Threshold |
|
å·®åãèšç®ããéã®å€åãããšèªèãããéŸå€ãèšå®ããŸããåºæ¬çã«ã¯ããã©ã«ãå€ã§åé¡ãããŸãããã埮åŠãªè²ã®éããªã©ãæ€åºãããå Žåã¯å€ãäžããŠäžããã |
|
|
|
#### Blocks |
|
調ã¹ããéå±€ãå
¥åããŸããXYZãããããšåãæžåŒã䜿çšå¯èœã§ãã |
|
|
|
éå±€å¥ããŒãžã«ã€ããŠã¯äžèšãåç
§ããŠãã ãã |
|
|
|
### elemental |
|
詳现ã¯[ãã¡ã](https://github.com/hako-mikan/sd-webui-supermerger/blob/main/elemental_ja.md)ãåç
§ããŠäžããã |
|
#### 䜿ãæ¹ |
|
Elementaã¿ãã«ãŠéå±€æå®ãšåãããã«èå¥åãèšå®ããŸããèå¥åã¯éå±€ã®èå¥åã®åŸã«å
¥åããŸãã |
|
\<lora:"loraå":1:IN04:ATTNON> |
|
ATTNON: |
|
|
|
æžåŒã¯ |
|
èå¥å:éå±€æå®:èŠçŽ æå®:ãŠã§ã€ã |
|
ã®ããã«æå®ããŸããèŠçŽ ã¯éšåäžèŽã§å€å®ãããŸããattn1ãªãattn1ã®ã¿ãattnãªãattn1åã³attn2ãåå¿ããŸããéå±€ãèŠçŽ å
±ã«ç©ºçœã§åºåããšè€æ°æå®ã§ããŸãã |
|
print changeããªã³ã«ãããšåå¿ããèŠçŽ ãã³ãã³ãããã³ããäžã«è¡šç€ºãããŸãã |
|
|
|
ALL0:::0 |
|
ã¯ãã¹ãŠã®èŠçŽ ã®ãŠã§ã€ãããŒãã«èšå®ããŸãã |
|
IN1:IN00-IN11::1 |
|
ã¯INã®ãã¹ãŠã®èŠçŽ ã1ã«ããŸã |
|
ATTNON::attn:1 |
|
ã¯ãã¹ãŠã®éå±€ã®attnã1ã«ããŸãã |
|
|
|
#### XYZãããã |
|
XYZããããã®elementsã®é
ã§ã¯ã«ã³ãåºåãã§XYZãããããå¯èœã«ãªããŸãã |
|
ãã®å Žå㯠|
|
\<lora:"loraå":1:XYZ:XYZ> |
|
ãšæå®ããŠäžããã |
|
elements |
|
ã®é
ã« |
|
IN05-OUT05:attn:0,IN05-OUT05:attn:0.5,IN05-OUT05:attn:1 |
|
ãšå
¥åããŠèµ°ããããšIN05ããOUT05ãŸã§ã®attnã®ã¿ãå€åãããããšãã§ããŸãã |
|
ãã®éãXYZã®å€ãå€æŽããããšã§åæå€ãå€æŽã§ããŸããããã©ã«ãã§ã¯elementalã®XYZã¯XYZ:::1ãšãªã£ãŠãããããã¯å
šéå±€ãå
šèŠçŽ ã1ã«ããŸããããããXYZ:encoder::1ãšãããšããã¹ããšã³ã³ãŒããŒã®ã¿ãæå¹ã«ããç¶æ
ã§è©äŸ¡ãã§ããŸãã |
|
|
|
https://github.com/bbc-mc/sdweb-merge-block-weighted-gui |
|
|
|
### updates/æŽæ°æ
å ± |
|
2023.02.07 1250(JST) |
|
- Changed behavior when XYZ plot Active (Script of the main UI is prioritized). |
|
|
|
2023.02.06 2000(JST) |
|
- Feature added: XYZ plotting is added. |
|
|
|
2023.01.31 0200(JST) |
|
- Feature added: Random feature is added |
|
- Fixed: Weighting now works for negative values. |
|
|
|
2023.02.16 2040(JST) |
|
- Original Weight ãxãyã«èšå®ã§ããªãåé¡ã解決ããŸãã |
|
- Effective Weight Analyzeréžææã«XYZã®XãYãValuesãšBlockIdã«ãªã£ãŠããªããšãšã©ãŒã«ãªãåé¡ã解決ããŸãã |
|
|
|
2023.02.08 2120(JST) |
|
- éå±€é©å¿ããåŸé垞䜿çšããéãéå±€é©å¿ãæ®ãåé¡ã解決ããŸãã |
|
- å¹æã®ããéå±€ãã¯ã³ã¯ãªãã¯ã§å€å¥ããæ©èœãè¿œå ããŸãã |
|
|
|
2023.02.08 0050(JST) |
|
- äžéšç°å¢ã§seedãåºå®ãããªãåé¡ã解決ããŸãã |
|
|
|
2023.02.07 2015(JST) |
|
- ãã€ãã¹ã®ãŠã§ã€ããæ£åžžã«åããªãåé¡ãä¿®æ£ããŸãã |
|
|
|
2023.02.07 1250(JST) |
|
- XYZããããActiveæã®åäœãå€æŽããŸãã(æ¬äœã®Scriptãåªå
ãããããã«ãªããŸã) |
|
|
|
2023.02.06 2000(JST) |
|
- æ©èœè¿œå ïŒXYZããããæ©èœãè¿œå ããŸãã |
|
|
|
2023.01.31 0200(JST) |
|
- æ©èœè¿œå ïŒã©ã³ãã æ©èœãè¿œå ããŸãã |
|
- æ©èœä¿®æ£ïŒãŠã§ã€ãããã€ãã¹ã«ãå¹ãããã«ãªããŸãã |
|
|