From 44f05633e9512eefb7d811811f241728767bc4a2 Mon Sep 17 00:00:00 2001 From: Jeremy Hummel Date: Wed, 14 Aug 2019 11:33:16 -0700 Subject: [PATCH] comment --- models/Model_SAE/Model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/models/Model_SAE/Model.py b/models/Model_SAE/Model.py index 9c65daa..f1165f1 100644 --- a/models/Model_SAE/Model.py +++ b/models/Model_SAE/Model.py @@ -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: