mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
switch from sparse to normal crossentropy
This commit is contained in:
parent
d8be26d476
commit
b6676e7361
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ def model_rainfallwater_segmentation(metadata, shape_water_out, model_arch="conv
|
|||
|
||||
model.compile(
|
||||
optimizer="Adam",
|
||||
loss=tf.keras.losses.SparseCategoricalCrossentropy(),
|
||||
loss=tf.keras.losses.CategoricalCrossentropy(),
|
||||
metrics=[tf.keras.metrics.SparseCategoricalAccuracy()]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue