From c121415e31a92bebc2d5a4395214cb4c355db843 Mon Sep 17 00:00:00 2001 From: ltcptgeneral Date: Thu, 7 Mar 2024 00:54:47 -0800 Subject: [PATCH] save plot --- test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test.py b/test.py index f4bde2e..ed9cd55 100644 --- a/test.py +++ b/test.py @@ -58,6 +58,4 @@ for i in range(epochs): plt.plot(losses, color="green", label="Training Loss") plt.legend(loc = 'upper left') -plt.show() - - +plt.savefig("plot.png")