Merge pull request #23 from bmaltais/dev
Quick fix for bug when no LoRA network weights is provided
This commit is contained in:
commit
1a9554a800
@ -434,7 +434,8 @@ def train_model(
|
|||||||
# elif network_train == 'Unet only':
|
# elif network_train == 'Unet only':
|
||||||
# run_cmd += f' --network_train_unet_only'
|
# run_cmd += f' --network_train_unet_only'
|
||||||
run_cmd += f' --network_dim={network_dim}'
|
run_cmd += f' --network_dim={network_dim}'
|
||||||
run_cmd += f' --network_weights={lora_network_weights}'
|
if not lora_network_weights == '':
|
||||||
|
run_cmd += f' --network_weights={lora_network_weights}'
|
||||||
|
|
||||||
|
|
||||||
print(run_cmd)
|
print(run_cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user