mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 05:22:06 -07:00
added sumbmodules
This commit is contained in:
parent
c2622c95da
commit
6ff5d36250
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue