mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
added sumbmodules
This commit is contained in:
parent
7fcaca99f7
commit
611a6f2e53
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ def trainerThread (s2c, c2s, e,
|
||||||
if parameters['NoInteractiveMode']:
|
if parameters['NoInteractiveMode']:
|
||||||
print("Entro 1")
|
print("Entro 1")
|
||||||
model_save()
|
model_save()
|
||||||
#os._exit(1)
|
os._exit(1)
|
||||||
else:
|
else:
|
||||||
io.log_info('Model already trained to target iteration. You can use preview.')
|
io.log_info('Model already trained to target iteration. You can use preview.')
|
||||||
else:
|
else:
|
||||||
|
@ -180,7 +180,7 @@ def trainerThread (s2c, c2s, e,
|
||||||
if parameters['NoInteractiveMode']:
|
if parameters['NoInteractiveMode']:
|
||||||
print("Entro 2 ")
|
print("Entro 2 ")
|
||||||
model_save()
|
model_save()
|
||||||
os._exit(1)
|
#os._exit(1)
|
||||||
|
|
||||||
need_save = False
|
need_save = False
|
||||||
while time.time() - last_save_time >= save_interval_min*60:
|
while time.time() - last_save_time >= save_interval_min*60:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue