Skip to content

Commit

Permalink
fix breakage due refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
rvankoert committed Feb 4, 2025
1 parent 570a475 commit ee24977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modes/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ee24977

Please sign in to comment.