mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 01:12:59 +00:00
model_segmentation: cast float → int
This commit is contained in:
parent
04e5ae0c45
commit
058e3b6248
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def model_rainfallwater_segmentation(metadata, feature_dim_in, shape_water_out,
|
|||
layer_next = tf.keras.layers.ReLU(name="cns.stage_begin.relu1")(layer_next)
|
||||
layer_next = tf.keras.layers.LayerNormalization(name="cns.stage_begin.norm", epsilon=1e-6)(layer_next)
|
||||
|
||||
layer_next = tf.keras.layers.Reshape((4, 4, feature_dim_in/(4*4)), name="cns.stable_begin.reshape")(layer_next)
|
||||
layer_next = tf.keras.layers.Reshape((4, 4, math.floor(feature_dim_in/(4*4))), name="cns.stable_begin.reshape")(layer_next)
|
||||
layer_next = tf.keras.layers.Dense(name="cns.stage.begin.dense2", units=feature_dim_in)(layer_next)
|
||||
layer_next = tf.keras.layers.ReLU(name="cns.stage_begin.relu2")(layer_next)
|
||||
layer_next = tf.keras.layers.LayerNormalization(name="cns.stage_begin.norm", epsilon=1e-6)(layer_next)
|
||||
|
|
Loading…
Reference in a new issue