mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 21:12:07 -07:00
added sumbmodules
This commit is contained in:
parent
56da12185e
commit
3e50e37e69
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import os
|
||||||
|
|
||||||
dictionary = {
|
dictionary = {
|
||||||
'4' : '\n',
|
'4' : '\n',
|
||||||
'Choose one of saved models, or enter a name to create a new model.' : '\n',
|
'5' : '0',
|
||||||
'Output image format':'png',
|
'Output image format':'png',
|
||||||
'NonInteractiveMode':'True',
|
'NonInteractiveMode':'True',
|
||||||
'Which GPU indexes to choose?': '0',
|
'Which GPU indexes to choose?': '0',
|
||||||
|
|
|
@ -80,7 +80,7 @@ class ModelBase(object):
|
||||||
s += "- latest"
|
s += "- latest"
|
||||||
io.log_info (s)
|
io.log_info (s)
|
||||||
|
|
||||||
inp = io.input_str(f"", "0", show_default_value=False )
|
inp = io.input_str(f"", "0", show_default_value=False, "5" )
|
||||||
model_idx = -1
|
model_idx = -1
|
||||||
try:
|
try:
|
||||||
model_idx = np.clip ( int(inp), 0, len(saved_models_names)-1 )
|
model_idx = np.clip ( int(inp), 0, len(saved_models_names)-1 )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue