mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
fix typo
This commit is contained in:
parent
a93cd32337
commit
be152b7616
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ class SAEModel(ModelBase):
|
||||||
# Updated "pred_src_dst[-1]" to "pred_src_dst[-1][:4]", as it was breaking on images with 4th channel
|
# 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']:
|
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]])
|
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][:4]])
|
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4]])
|
||||||
|
|
||||||
if self.is_training_mode:
|
if self.is_training_mode:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue