mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
revert change, found issue in ConverterMasked
This commit is contained in:
parent
2c7e4560be
commit
31417bc97a
1 changed files with 2 additions and 3 deletions
|
@ -435,11 +435,10 @@ 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]])
|
||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1], pred_dst_dstm[-1], pred_src_dstm[-1]])
|
||||
else:
|
||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4]])
|
||||
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1]])
|
||||
|
||||
if self.is_training_mode:
|
||||
self.src_sample_losses = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue