mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 14:24:40 -07:00
comment
This commit is contained in:
parent
910f323c5f
commit
44f05633e9
1 changed files with 1 additions and 0 deletions
|
@ -435,6 +435,7 @@ class SAEModel(ModelBase):
|
|||
|
||||
|
||||
else:
|
||||
# Updated "pred_src_dst[-1]" to "pred_src_dst[-1][:4]", as it was breaking on images with 4th channel
|
||||
if self.options['learn_mask']:
|
||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4], pred_dst_dstm[-1], pred_src_dstm[-1]])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue