fix paths with spaces
This commit is contained in:
parent
a79d7be063
commit
7af9e48d30
@ -41,7 +41,7 @@ def extract_lora(
|
||||
return
|
||||
|
||||
run_cmd = (
|
||||
f'{PYTHON} "{os.path.join("networks","extract_lora_from_models.py")}"'
|
||||
f'{PYTHON} {os.path.join("networks","extract_lora_from_models.py")}'
|
||||
)
|
||||
run_cmd += f' --save_precision {save_precision}'
|
||||
run_cmd += f' --save_to "{save_to}"'
|
||||
|
@ -43,7 +43,7 @@ def merge_lora(
|
||||
ratio_a = ratio
|
||||
ratio_b = 1 - ratio
|
||||
|
||||
run_cmd = f'{PYTHON} "{os.path.join("networks","merge_lora.py")}"'
|
||||
run_cmd = f'{PYTHON} {os.path.join("networks","merge_lora.py")}'
|
||||
run_cmd += f' --save_precision {save_precision}'
|
||||
run_cmd += f' --precision {precision}'
|
||||
run_cmd += f' --save_to "{save_to}"'
|
||||
|
@ -30,7 +30,7 @@ def resize_lora(
|
||||
if device == '':
|
||||
device = 'cuda'
|
||||
|
||||
run_cmd = f'{PYTHON} "{os.path.join("networks","resize_lora.py")}"'
|
||||
run_cmd = f'{PYTHON} {os.path.join("networks","resize_lora.py")}'
|
||||
run_cmd += f' --save_precision {save_precision}'
|
||||
run_cmd += f' --save_to {save_to}'
|
||||
run_cmd += f' --model {model}'
|
||||
|
Loading…
Reference in New Issue
Block a user