train encoder on raw curvature values
This commit is contained in:
+1
-7
@@ -190,13 +190,7 @@ class DecoderNew(tf.keras.Model):
|
||||
|
||||
x = self.decoder(x, training=training)
|
||||
|
||||
if self.is_label:
|
||||
x = x * mask[:,:,:,tf.newaxis]
|
||||
|
||||
background = tf.ones((mask.shape[0],512,256,1)) * (1 - mask[:,:,:,tf.newaxis])
|
||||
x = tf.concat((background, x), axis=-1)
|
||||
|
||||
x = tf.math.softmax(x)
|
||||
# if self.is_label:
|
||||
|
||||
if len(inputs) == 2:
|
||||
if len(mask.shape) == 2:
|
||||
|
||||
Reference in New Issue
Block a user