mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-08 05:51:40 -07:00
check if pkl exist to apply modifications
This commit is contained in:
parent
230d7df17e
commit
3dc9366d18
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ def trainerThread (s2c, c2s, e,
|
|||
if model.get_target_iter() != 0:
|
||||
if is_reached_goal:
|
||||
io.log_info('Model already trained to target iteration. You can use preview.')
|
||||
if os.path.exists("/home/deepfake/interact_dict.pkl"):
|
||||
if os.path.exists("/home/deepfake/interact_dict.pkl"):
|
||||
model_save()
|
||||
os._exit(1)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue