mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-16 00:49:40 +00:00
fix: update logging message for regex match in LoRANetwork
This commit is contained in:
@@ -284,7 +284,7 @@ class LoRANetwork(torch.nn.Module):
|
||||
if re.fullmatch(reg, original_name):
|
||||
dim = d
|
||||
alpha_val = self.alpha
|
||||
logger.info(f"LoRA {original_name} matched with regex {reg}, using dim: {dim}")
|
||||
logger.info(f"Module {original_name} matched with regex '{reg}' -> dim: {dim}")
|
||||
break
|
||||
# fallback to default dim if not matched by reg_dims or reg_dims is not specified
|
||||
if dim is None:
|
||||
|
||||
Reference in New Issue
Block a user