dlr: fix crash ref CallbackExtraValidation

This commit is contained in:
Starbeamrainbowlabs 2024-12-12 19:33:18 +00:00
parent 8befef5fc1
commit c7a3a2d08a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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 # 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, epochs=EPOCHS,
callbacks=[ callbacks=[
CallbackExtraValidation(model, { CallbackExtraValidation({ # `model,` removed 'ref apparently exists by default????? ehhhh...???
"test": dataset_test # Can be None because it handles that "test": dataset_test # Can be None because it handles that
}), }),
tf.keras.callbacks.CSVLogger( tf.keras.callbacks.CSVLogger(