mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
fix preview_history
This commit is contained in:
parent
4e744cf184
commit
497a7eec94
1 changed files with 2 additions and 1 deletions
|
@ -434,7 +434,8 @@ class ModelBase(object):
|
|||
|
||||
self.loss_history.append ( [float(loss[1]) for loss in losses] )
|
||||
|
||||
if self.iter % 100 == 0:
|
||||
if (not io.is_colab() and self.iter % 10 == 0) or \
|
||||
(io.is_colab() and self.iter % 100 == 0):
|
||||
plist = []
|
||||
|
||||
if io.is_colab():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue