Remove unneeded arguments
This commit is contained in:
parent
6a85f15542
commit
f265197ba9
@ -333,10 +333,6 @@ def train_model(
|
|||||||
run_cmd += ' --enable_bucket'
|
run_cmd += ' --enable_bucket'
|
||||||
if no_token_padding:
|
if no_token_padding:
|
||||||
run_cmd += ' --no_token_padding'
|
run_cmd += ' --no_token_padding'
|
||||||
if use_8bit_adam:
|
|
||||||
run_cmd += ' --use_8bit_adam'
|
|
||||||
if xformers:
|
|
||||||
run_cmd += ' --xformers'
|
|
||||||
run_cmd += (
|
run_cmd += (
|
||||||
f' --pretrained_model_name_or_path="{pretrained_model_name_or_path}"'
|
f' --pretrained_model_name_or_path="{pretrained_model_name_or_path}"'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user