mono: drop the sparse

This commit is contained in:
Starbeamrainbowlabs 2022-11-22 16:20:56 +00:00
parent 7e8f63f8ba
commit 3a0356929c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -72,7 +72,7 @@ def model_rainfallwater_mono(metadata, shape_water_out, model_arch_enc="convnext
model.compile(
optimizer="Adam",
loss=tf.keras.losses.CategoricalCrossentropy(),
metrics=[tf.keras.metrics.SparseCategoricalAccuracy()]
metrics=[tf.keras.metrics.CategoricalAccuracy()]
)
return model