mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
again
This commit is contained in:
parent
7000b0f193
commit
2142bb039c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def model_rainfallwater_mono(metadata, model_arch_enc="convnext_xtiny", model_ar
|
|||
# layer_next = tf.keras.layers.Softmax(axis=-1)(layer_next)
|
||||
# LOSS dice
|
||||
layer_next = tf.keras.layers.Conv2D(1, activation="gelu", kernel_size=1, padding="same")(layer_next)
|
||||
layer_next = tf.keras.layers.Reshape(tf.constant(layer_next.shape[:-1]))(layer_next) # Strip the channels
|
||||
layer_next = tf.keras.layers.Reshape(tf.constant(layer_next.shape[1:-1]))(layer_next) # Strip the channels
|
||||
|
||||
model = tf.keras.Model(
|
||||
inputs = layer_input,
|
||||
|
|
Loading…
Reference in a new issue