Skip to content
Snippets Groups Projects
Commit 924ec12a authored by tomrink's avatar tomrink
Browse files

snapshot...

parent cb5f5d1b
No related branches found
No related tags found
No related merge requests found
...@@ -1017,12 +1017,12 @@ class IcingIntensityFCN: ...@@ -1017,12 +1017,12 @@ class IcingIntensityFCN:
cnn = self.build_cnn() cnn = self.build_cnn()
print(cnn.shape, self.inputs[1].shape) print(cnn.shape, self.inputs[1].shape)
if self.USE_FLIGHT_ALTITUDE: if self.USE_FLIGHT_ALTITUDE:
# cnn = tf.keras.layers.concatenate([cnn, self.inputs[1]]) cnn = tf.keras.layers.concatenate([cnn, self.inputs[1]])
# -- experimental # -- experimental
cnn_shape = cnn.shape # cnn_shape = cnn.shape
falt = tf.zeros((cnn_shape[0], cnn_shape[1] // 16, cnn_shape[2] // 16, 5)) # falt = tf.zeros((cnn_shape[0], cnn_shape[1] // 16, cnn_shape[2] // 16, 5))
falt[:, :, :, :] = self.inputs[1][:, 0, 0, :] # falt[:, :, :, :] = self.inputs[1][:, 0, 0, :]
cnn = tf.keras.layers.concatenate([cnn, falt]) # cnn = tf.keras.layers.concatenate([cnn, falt])
# ------------------------------------------------------------ # ------------------------------------------------------------
self.build_fcl(cnn) self.build_fcl(cnn)
self.model = tf.keras.Model(self.inputs, self.logits) self.model = tf.keras.Model(self.inputs, self.logits)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment