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