From 8364ce697ddf6117fdd4f7222832d546d63880de Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 21 Jun 2023 13:28:49 +0200 Subject: Update --- training/lr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'training/lr.py') diff --git a/training/lr.py b/training/lr.py index f5b362f..a75078f 100644 --- a/training/lr.py +++ b/training/lr.py @@ -23,12 +23,12 @@ def plot_metrics( fig, ax_loss = plt.subplots() ax_acc = ax_loss.twinx() - ax_loss.plot(lrs, losses, color='red') + ax_loss.plot(lrs, losses, color="red") ax_loss.set_xscale("log") ax_loss.set_xlabel(f"Learning rate") ax_loss.set_ylabel("Loss") - ax_acc.plot(lrs, accs, color='blue') + ax_acc.plot(lrs, accs, color="blue") ax_acc.set_xscale("log") ax_acc.set_ylabel("Accuracy") -- cgit v1.2.3-54-g00ecf