From c7a3a2d08a663dc6c1b6721a28b615f046a6cb09 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 12 Dec 2024 19:33:18 +0000 Subject: [PATCH] dlr: fix crash ref CallbackExtraValidation --- aimodel/src/deeplabv3_plus_test_rainfall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/src/deeplabv3_plus_test_rainfall.py b/aimodel/src/deeplabv3_plus_test_rainfall.py index eeb472c..8e0f3cb 100755 --- a/aimodel/src/deeplabv3_plus_test_rainfall.py +++ b/aimodel/src/deeplabv3_plus_test_rainfall.py @@ -261,7 +261,7 @@ if PATH_CHECKPOINT is None: # test_data=dataset_test, # Nope, it doesn't have a param like this so it's time to do this the *hard* way epochs=EPOCHS, callbacks=[ - CallbackExtraValidation(model, { + CallbackExtraValidation({ # `model,` removed 'ref apparently exists by default????? ehhhh...??? "test": dataset_test # Can be None because it handles that }), tf.keras.callbacks.CSVLogger(