mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
added sumbmodules
This commit is contained in:
parent
32ec2e694b
commit
4fda025b10
1 changed files with 0 additions and 5 deletions
|
@ -295,17 +295,12 @@ class ModelBase(object):
|
|||
self.choose_preview_history = io.input_bool("Randomly choose new image for preview history", False, help_message="Preview image history will stay stuck with old faces if you reuse the same model on different celebs. Choose no unless you are changing src/dst to a new person")
|
||||
|
||||
def ask_target_iter(self, default_value=0):
|
||||
print("Current directory")
|
||||
cmd = "pwd"
|
||||
print("Dentro ask_target_iter: \n\n")
|
||||
os.system(cmd)
|
||||
answer_filename = 'workspace/interact/interact_dict.pkl'
|
||||
if os.path.exists(answer_filename):
|
||||
with open(answer_filename, 'rb') as file:
|
||||
parameters = pickle.load(file)
|
||||
if parameters['NoInteractiveMode']:
|
||||
default_target_iter = self.load_or_def_option('target_iter', default_value + 10000)
|
||||
print("\n\n\n\nDefault target iteration: \n\n\n", default_target_iter)
|
||||
self.options['target_iter'] = max(0, default_target_iter + 10000)
|
||||
print("TARGET ITERATION: " + str(self.options['target_iter']))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue