mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
Official weights to LoRA
This commit is contained in:
@@ -380,7 +380,7 @@ def train(args):
|
||||
net_kwargs[key] = value
|
||||
|
||||
# if a new network is added in future, add if ~ then blocks for each network (;'∀')
|
||||
network: control_net_rola.LoRANetwork = network_module.create_network(
|
||||
network: control_net_rola.ControlLoRANetwork = network_module.create_network(
|
||||
1.0, args.network_dim, args.network_alpha, vae, text_encoder, unet, **net_kwargs)
|
||||
if network is None:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user