mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix --force-gpu-idxs commandline param for trainer
This commit is contained in:
parent
82bc724077
commit
780ad5679f
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -176,7 +176,7 @@ if __name__ == "__main__":
|
|||
'pretrained_model_path' : Path(arguments.pretrained_model_dir) if arguments.pretrained_model_dir is not None else None,
|
||||
'no_preview' : arguments.no_preview,
|
||||
'force_model_name' : arguments.force_model_name,
|
||||
'force_gpu_idxs' : arguments.force_gpu_idxs,
|
||||
'force_gpu_idxs' : [ int(x) for x in arguments.force_gpu_idxs.split(',') ] if arguments.force_gpu_idxs is not None else None,
|
||||
'cpu_only' : arguments.cpu_only,
|
||||
'execute_programs' : [ [int(x[0]), x[1] ] for x in arguments.execute_program ],
|
||||
'debug' : arguments.debug,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue