From 2c3a4839a2a03872ffcd07e05cc4cc28a9e5dd17 Mon Sep 17 00:00:00 2001 From: David Scripka Date: Tue, 21 Nov 2023 16:39:10 -0500 Subject: [PATCH] typo [skip ci] --- openwakeword/train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwakeword/train.py b/openwakeword/train.py index 465bdb5..b512cd0 100755 --- a/openwakeword/train.py +++ b/openwakeword/train.py @@ -560,8 +560,8 @@ class Model(nn.Module): logging.info("Saving checkpoint with metrics >= to targets!") self.best_models.append(copy.deepcopy(self.model)) self.best_model_scores.append({"training_step_ndx": step_ndx, "val_n_fp": self.history["val_n_fp"][-1], - "val_recall": self.history["val_recall"][-1]}, - "val_accuracy": self.history["val_accuracy"][-1]) + "val_recall": self.history["val_recall"][-1], + "val_accuracy": self.history["val_accuracy"][-1]}) self.best_val_recall = self.history["val_recall"][-1] self.best_val_accuracy = self.history["val_accuracy"][-1]