mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 17:23:01 +00:00
segmentation: use the right accuracy
This commit is contained in:
parent
bb0258f5cd
commit
c98d8d05dd
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(
|
model.compile(
|
||||||
optimizer="Adam",
|
optimizer="Adam",
|
||||||
loss=tf.keras.losses.SparseCategoricalCrossentropy(),
|
loss=tf.keras.losses.SparseCategoricalCrossentropy(),
|
||||||
metrics=["accuracy"]
|
metrics=[tf.keras.losses.SparseCategoricalAccuracy()]
|
||||||
)
|
)
|
||||||
|
|
||||||
return model
|
return model
|
Loading…
Reference in a new issue