mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
debug
This commit is contained in:
parent
f3ef017ff4
commit
8f87aff852
1 changed files with 1 additions and 2 deletions
|
@ -436,10 +436,9 @@ class SAEModel(ModelBase):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if self.options['learn_mask']:
|
if self.options['learn_mask']:
|
||||||
from keras import K
|
|
||||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4], pred_dst_dstm[-1], pred_src_dstm[-1]])
|
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4], pred_dst_dstm[-1], pred_src_dstm[-1]])
|
||||||
else:
|
else:
|
||||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1]])
|
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4]])
|
||||||
|
|
||||||
if self.is_training_mode:
|
if self.is_training_mode:
|
||||||
self.src_sample_losses = []
|
self.src_sample_losses = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue