check if pkl exist to apply modifications

This commit is contained in:
leno3003 2022-03-29 14:12:12 +02:00
parent 230d7df17e
commit 3dc9366d18

View file

@ -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: