Fix command-line arguments being ignored
This commit is contained in:
parent
ff5d3d2d09
commit
5075087461
2 changed files with 7 additions and 2 deletions
|
@ -96,7 +96,7 @@ def update_model_parameters(state, initial=False):
|
|||
gpu_memories.append(value)
|
||||
continue
|
||||
|
||||
if initial and vars(shared.args)[element] != vars(shared.args_defaults)[element]:
|
||||
if initial and element in shared.provided_arguments:
|
||||
continue
|
||||
|
||||
# Setting null defaults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue