Skip to content

Commit 0f5ffbd

Browse files
committed
early stopping monitors validation loss again instead of validation AUPRC
1 parent 78b2561 commit 0f5ffbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

birdnet_analyzer/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ def on_epoch_end(self, epoch, logs=None):
754754
callbacks = [
755755
# EarlyStopping with restore_best_weights
756756
keras.callbacks.EarlyStopping(
757-
monitor="val_AUPRC",
758-
mode="max",
757+
monitor="val_loss",
758+
mode="min",
759759
patience=patience,
760760
verbose=1,
761761
min_delta=min_delta,

0 commit comments

Comments
 (0)