model_segmenter: we're no longer using sparse

This commit is contained in:
Starbeamrainbowlabs 2022-11-29 19:28:27 +00:00
parent 9a2b4c6838
commit 8e23e9d341
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -56,7 +56,7 @@ def model_rainfallwater_segmentation(metadata, shape_water_out, model_arch="conv
model.compile(
optimizer="Adam",
loss=tf.keras.losses.CategoricalCrossentropy(),
metrics=[tf.keras.metrics.SparseCategoricalAccuracy()]
metrics=[tf.keras.metrics.CategoricalAccuracy()]
)
return model