This commit is contained in:
Jeremy Hummel 2019-08-14 11:07:55 -07:00
commit 8f87aff852

View file

@ -436,10 +436,9 @@ class SAEModel(ModelBase):
else:
if self.options['learn_mask']:
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]])
self.AE_convert = K.function([warped_dst], [pred_src_dst[-1][:4]])
if self.is_training_mode:
self.src_sample_losses = []