From ee2497732893ec3e59d949cfc944c8f605837185 Mon Sep 17 00:00:00 2001 From: Rutger Date: Tue, 4 Feb 2025 15:03:34 +0100 Subject: [PATCH] fix breakage due refactoring --- src/modes/training.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modes/training.py b/src/modes/training.py index a5d7617..30e3ae3 100644 --- a/src/modes/training.py +++ b/src/modes/training.py @@ -137,10 +137,10 @@ def plot_training_history(history: tf.keras.callbacks.History, plot_metric(metric="loss", history=history, title="Training Loss", - filename= os.path.join(output_path, 'loss_plot.png'), + output_path=os.path.join(output_path, 'loss_plot.png'), plot_validation_metric=plot_validation) plot_metric(metric="CER_metric", history=history, title="Character Error Rate (CER)", - filename=os.path.join(output_path, 'cer_plot.png'), + output_path=os.path.join(output_path, 'cer_plot.png'), plot_validation_metric=plot_validation)