Merge branch 'feat-support-lokr-loha' of https://github.com/kohya-ss/sd-scripts into feat-support-lokr-loha

This commit is contained in:
Kohya S
2026-02-23 21:53:11 +09:00
2 changed files with 1 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ The following `--network_args` options are available for both LoHa and LoKr, sam
| `rank_dropout=0.1` | Apply dropout to the rank dimension during training |
| `module_dropout=0.1` | Randomly skip entire modules during training |
| `exclude_patterns=[r'...']` | Exclude modules matching the regex patterns (in addition to architecture defaults) |
| `include_patterns=[r'...']` | Include only modules matching the regex patterns |
| `include_patterns=[r'...']` | Override excludes: modules matching these regex patterns will be included even if they match `exclude_patterns` |
| `network_reg_lrs=regex1=lr1,regex2=lr2` | Set per-module learning rates using regex patterns |
| `network_reg_dims=regex1=dim1,regex2=dim2` | Set per-module dimensions (rank) using regex patterns |

View File

@@ -1,8 +1,6 @@
# Shared network base for additional network modules (like LyCORIS-family modules: LoHa, LoKr, etc).
# Provides architecture detection and a generic AdditionalNetwork class.
import ast
import math
import os
import re
from dataclasses import dataclass, field