mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
Small bug fix
This commit is contained in:
parent
3c6b624eaa
commit
fededeae56
1 changed files with 1 additions and 1 deletions
|
@ -63,10 +63,10 @@ def trainerThread (s2c, c2s, e, args, device_args):
|
|||
if not debug:
|
||||
previews = model.get_previews()
|
||||
c2s.put ( {'op':'show', 'previews': previews, 'iter':model.get_iter(), 'loss_history': model.get_loss_history().copy() } )
|
||||
e.set() #Set the GUI Thread as Ready
|
||||
else:
|
||||
previews = [( 'debug, press update for new', model.debug_one_iter())]
|
||||
c2s.put ( {'op':'show', 'previews': previews} )
|
||||
e.set() #Set the GUI Thread as Ready
|
||||
|
||||
|
||||
if model.is_first_run():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue