mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 17:23:01 +00:00
Merge branch 'main' of git.starbeamrainbowlabs.com:sbrl/PhD-Rainfall-Radar
This commit is contained in:
commit
4ceec73e5b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ def model_rainfallwater_segmentation(metadata, shape_water_out, model_arch="conv
|
||||||
logger.warning("Warning: TODO implement attention from https://ieeexplore.ieee.org/document/9076883")
|
logger.warning("Warning: TODO implement attention from https://ieeexplore.ieee.org/document/9076883")
|
||||||
layer_next = tf.keras.layers.Dense(32)(layer_next)
|
layer_next = tf.keras.layers.Dense(32)(layer_next)
|
||||||
layer_next = tf.keras.layers.Conv2D(water_bins, kernel_size=1, activation="softmax", padding="same")(layer_next)
|
layer_next = tf.keras.layers.Conv2D(water_bins, kernel_size=1, activation="softmax", padding="same")(layer_next)
|
||||||
|
layer_next = tf.keras.layers.Softmax(axis=-1)(layer_next)
|
||||||
|
|
||||||
model = tf.keras.Model(
|
model = tf.keras.Model(
|
||||||
inputs = layer_input,
|
inputs = layer_input,
|
||||||
|
|
Loading…
Reference in a new issue