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
8b4e234721
commit
a874610aa7
1 changed files with 4 additions and 0 deletions
|
@ -297,6 +297,7 @@ class ModelBase(object):
|
||||||
def ask_target_iter(self, default_value=0):
|
def ask_target_iter(self, default_value=0):
|
||||||
print("Current directory")
|
print("Current directory")
|
||||||
cmd = "pwd"
|
cmd = "pwd"
|
||||||
|
print("Dentro ask_target_iter: \n\n")
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
answer_filename = 'workspace/interact/interact_dict.pkl'
|
answer_filename = 'workspace/interact/interact_dict.pkl'
|
||||||
if os.path.exists(answer_filename):
|
if os.path.exists(answer_filename):
|
||||||
|
@ -307,6 +308,9 @@ class ModelBase(object):
|
||||||
print("\n\n\n\nDefault target iteration: \n\n\n", default_target_iter)
|
print("\n\n\n\nDefault target iteration: \n\n\n", default_target_iter)
|
||||||
self.options['target_iter'] = max(0, default_target_iter + 10000)
|
self.options['target_iter'] = max(0, default_target_iter + 10000)
|
||||||
print("TARGET ITERATION: " + str(self.options['target_iter']))
|
print("TARGET ITERATION: " + str(self.options['target_iter']))
|
||||||
|
else:
|
||||||
|
default_target_iter = self.load_or_def_option('target_iter', default_value)
|
||||||
|
self.options['target_iter'] = max(0, io.input_int("Target iteration", default_target_iter))
|
||||||
else:
|
else:
|
||||||
default_target_iter = self.load_or_def_option('target_iter', default_value)
|
default_target_iter = self.load_or_def_option('target_iter', default_value)
|
||||||
self.options['target_iter'] = max(0, io.input_int("Target iteration", default_target_iter))
|
self.options['target_iter'] = max(0, io.input_int("Target iteration", default_target_iter))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue