This commit is contained in:
Jeremy Hummel 2019-08-14 11:52:36 -07:00
commit be152b7616

View file

@ -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
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:
else:
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4]])
if self.is_training_mode: