mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-30 11:40:36 -07:00
added photos for thesis
This commit is contained in:
parent
1c249838c1
commit
cc02b0c324
4 changed files with 8 additions and 22 deletions
|
@ -85,10 +85,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(answer_filename):
|
||||
with open(answer_filename, 'rb') as file:
|
||||
parameters = pickle.load(file)
|
||||
if parameters['NoInteractiveMode']:
|
||||
if io.get_default_answer('NoInteractiveMode') is not None:
|
||||
model_save()
|
||||
os._exit(0)
|
||||
else:
|
||||
|
@ -170,10 +167,7 @@ def trainerThread (s2c, c2s, e,
|
|||
model_save()
|
||||
is_reached_goal = True
|
||||
io.log_info ('You can use preview now.')
|
||||
if os.path.exists(answer_filename):
|
||||
with open(answer_filename, 'rb') as file:
|
||||
parameters = pickle.load(file)
|
||||
if parameters['NoInteractiveMode']:
|
||||
if io.get_default_answer('NoInteractiveMode') is not None:
|
||||
model_save()
|
||||
os._exit(0)
|
||||
need_save = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue