added sumbmodules

This commit is contained in:
leno3003 2022-03-30 16:21:00 +02:00
parent c2622c95da
commit 6ff5d36250
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ def trainerThread (s2c, c2s, e,
if is_reached_goal:
io.log_info('Model already trained to target iteration. You can use preview.')
answer_filename = 'DeepFaceLab_Linux/worspace/interact/interact_dict.pkl'
answer_filename = 'workspace/interact/interact_dict.pkl'
if os.path.exists(answer_filename):
with open(answer_filename, 'rb') as file:
parameters = pickle.load(file)
@ -171,7 +171,7 @@ def trainerThread (s2c, c2s, e,
model_save()
is_reached_goal = True
io.log_info ('You can use preview now.')
answer_filename = 'DeepFaceLab_Linux/worspace/interact/interact_dict.pkl'
answer_filename = 'workspace/interact/interact_dict.pkl'
if os.path.exists(answer_filename):
with open(answer_filename, 'rb') as file:
parameters = pickle.load(file)

View file

@ -295,7 +295,7 @@ 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):
answer_filename = 'DeepFaceLab_Linux/worspace/interact/interact_dict.pkl'
answer_filename = 'workspace/interact/interact_dict.pkl'
if os.path.exists(answer_filename):
with open(answer_filename, 'rb') as file:
parameters = pickle.load(file)